Greetings everyone!
I am literally struggling to format the data that I have in an Excel worksheet.
My spreadsheet has data in two adjacent columns ('Name' and 'Value'). The data runs into several thousand entries.
I need to re-format the data such that after every 'N' rows, the next set of entries ('Name' and 'Value') spills over into the adjacent columns.
Please take a look at the attached screenshots of the sample tables that I've created for a better understanding of the problem. The first image below shows the source data.
The formatted output that I need needs to look like this:
For the output, I need the entries to spill over in the next column after every 'N' entries (35 as shown here arbitrarily).
Put in a different way, after the first 35 entries in columns A and B, the next 35 entries should spill over to columns C and D.
After these 35 entries in columns C and D, the next 35 entries should be shown in columns E and F.
After this, the next 35 entries should continue in columns A and B etc.
Hence, the entire data in columns A and B must be adjusted in columns A+B, C+D, and E+F after every 35 entries. I hope I didn't make this too confusing...!
I am not at all good at macros/scripting and hence, I am unable to figure out any way to do this...!
If anyone can throw any light on this and help me out, I'd be really, really thankful :-)
Many thanks in advance!
-Amit