Duplicate List items based on varying quantities?

Wolfspyda

New Member
Joined
Mar 28, 2018
Messages
22
I'm having some issues figuring out if you can create a dynamic list of values in a range, based on separate quantities per item. I have seen it done via VBA, but I'm trying to avoid that if I can.

This is an example of the Data:-

Code Qty
1 Lax 3
2 SF 1
3 Tan 2
4 Go 1

Id like the Dynamic list to show the following

Lax
Lax
Lax
SF
Tan
Tan
Go


Any help would be great. I have seen something like this in ExcelMagic Trick 493, but the list would duplicate based on one "number of repeats".
 
When I did the merge power queries I selected “Inner (Only Matching Records). I think this may remove duplicates.

I’m running Office365 2016 as well with the power query feature turned on.
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Well after trying all the different options within power queries merge function. it seems like it won't repeat or duplicates the number of times it returns the same result. If the list has the same name repeated a few times it will only return one full result. I can't see anything that would prevent the query returning multiple results, so I'm a little stuck now.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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