Extracting Alt Enter data by Creating rows underneath using macros

Biogreg

New Member
Joined
Feb 24, 2014
Messages
2
Hello All, Ok so here is my data set


-- removed inline image ---


Top is what I have, bottom is what I need. Is there a Maccro way to do this? I tried using text to columns using the Alt H command to bring the data out, then indexing it down and that works for doing it 1 row at a time, but to preserve the data relationships I can't really do it for multiple columns As not all rows have multiple levels, and the ones that do do not have the same number of levels.

Any Help is appreciated.


Cheers.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
In 1 Row the data is
A
B
C
D
E
1
2
3
4
5
Happy
Go
Lucky
Fun
Times
Data Point 1Data Point 2
I need it in 5 rows
A1HappyData Point 1Data Point 2
B2GoData Point 1Data Point 2
C3LuckyData Point 1Data Point 2
D4FunData Point 1Data Point 2
E5TimesData Point 1Data Point 2

<tbody>
</tbody>

There are hundreds of rows like this out of thousands, and there are 6-7 columns of information like this that needs to be treated. Once again thanks for the help.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top