Duplicate row in Power Query depends on amount of boxes

nahaku

Board Regular
Joined
Mar 19, 2020
Messages
106
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have table in power query where are entries with address and how many boxes should be there. but I would like to transform it from 1 row for example of 24 boxes to 24 rows of same address with 1 box

Template.xlsx
ABCDEFGHIJK
1Ref1Ref2Country CodeCountyCityAddress Line 2Address Line 1PostcodeCompanyWarehouse CodeNo. of Package
2scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX323
3asdqaszccGB West MidlandsCoventry Coundon Wedge Drive Plot 1, Lyons ParkCV5 9FA Amazon Fulfillment CentreBHX412
4zxcvasdzxGB Amazon WayKY11 8XTAmazon Fulfillment CentreEDI432
Template Generator



to make it like this

Template.xlsx
ABCDEFGHIJK
1Ref1Ref2Country CodeCountyCityAddress Line 2Address Line 1PostcodeCompanyWarehouse CodeNo. of Package
2scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
3scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
4scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
5scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
6scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
7scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
8scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
9scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
10scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
11scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
12scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
13scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
14scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
15scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
16scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
17scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
18scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
19scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
20scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
21scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
22scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
23scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
24scasczxczxcGB Northamptonshire Royal Oak Way NorthNN11 8QLAmazon Fulfillment CentreBHX31
Sheet1
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,215,491
Messages
6,125,102
Members
449,205
Latest member
ralemanygarcia

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