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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,525
Messages
5,837,866
Members
430,519
Latest member
abtg1

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