Dulicating A row but subtracting a value of the previous

frikkie

New Member
Joined
Jul 26, 2007
Messages
1
I have a excel spreadsheet that i want to use to destribute books. My problem is that i can only fit 200 books in a boks. Now i want to print labels using word mailmurge document. How can i repeat a row if the value is larger than 200 to print a label stating "Box 1 of 2" and a "qty 200" and the new created row must state 2 of 2 qty 150 if the total qty was 350.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

ravishankar

Well-known Member
Joined
Feb 23, 2006
Messages
3,566
HI

if cell D4 contains 350, then
E4=MOD(D4,200) & " of " & ROUND(D4/200+0.5,0) & " th box" will return
150 of 2 th box

Ravi
 

Watch MrExcel Video

Forum statistics

Threads
1,129,800
Messages
5,638,422
Members
417,025
Latest member
MusterDuster

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