Add rows dependent on value of a cell

maycenz

New Member
Joined
Nov 28, 2005
Messages
2
Hi there
I have data that generates a product type and then generates the amount of dispatches of that type in a day. On another sheet i am looking to add an exact amount of rows for that date dependent on the number of dispatches.

e.g 1 2 3 4 5 6 7
Dispatches 1 2 3
a 01/05/05 PROD1 PROD2 PROD3 3 5 6
b 02/05/05 PROD2 - - 5 - -
c 03/05/05 PROD1 PROD3 2 1 -

So on the sheet for prod1 i want 3 rows generated saying 01/05/05 and then on a sheet for prod2 has 5 rows for 01/05/05 etc....

Hope i explained that alright. Anyone know how to do this?


Thanks in advance.
Mark
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Watch MrExcel Video

Forum statistics

Threads
1,122,529
Messages
5,596,695
Members
414,088
Latest member
rodriboraun

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
Top