Expand data line by line - complicated question

nostradamus

Board Regular
Joined
Aug 9, 2010
Messages
143
Office Version
  1. 365
Platform
  1. Windows
Hi folks,
Below is an excel table ColA has the Date, County, and Location concatenated; and ColB has the number of birds observed at that location.
I used Multiple Consolidation Range in excel to get to this point from tabular data format.

AB
1UniqueIDValue
242787_Bailey_a3
342901_Handerson_a2
442901_Handerson_b4
542901_Handerson_c5
642796_Atascosa_a2
742796_Atascosa_b5
842796_Atascosa_c7

<tbody>
</tbody>

Question: Now, for the uniqueID in Row2 (42787_Bailey_a), there were 3 birds observed.
I need to find a way to spread the 3 out into 3 rows - as shown in the table below.
Is there a way to do it, other than manually spreading it out. I have about 3000 rows with varying values to spread out.

AB
1UniqueIDValue
242787_Bailey_a1
342787_Bailey_a1
442787_Bailey_a1
542901_Handerson_a1
642901_Handerson_a1
7..
8..

<tbody>
</tbody>


A Big Thanks.
 
You are welcome
I'm happy you are happy :)
Now you can click on the button Thanks/Like (bottom left corner) in the posts which have helped you
Have a nice day
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi sandy666, I was going through my data and the code/query only worked for first 16k lines. I have about 64k cells that would need to be populated. Is there some limitation with this table query?
Thanks.
 
Upvote 0
there is no any limits only RAM or disc space.
maybe your data somewhere is not proper
hard to say without original file
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,217
Members
448,876
Latest member
Solitario

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