Working Backwards with Production and Shipments

JamesB

New Member
Joined
Jan 13, 2002
Messages
11
Hi all,

I was just wondering if anyone could help me with this problem,

I am trying to work out how to get a column in my spreadsheet that will work out (backwards) which shipment we are producing for at the corresponding date

I have the sheet set out as follows:

A B C D E F
Date Prod InStock Shipped Ship ForShip


As there is no regular interval between shipments, I need something that can start at the bottom and work its way up by looking at D (shipped) and then subtract each days production from this until it reaches zero,all the time putting the ship name in F (ForShip). Then once it reaches zero, I need it to go back down to one cell above the previous D cell used and repeat, continuing the subtraction from the date where the previous calculation reached zero!

Way to hard for my little brain.

I am not very good at code but will try anything! (thats if anyone even understood what the heck I am on about!) :)

Thanks in advance!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi,

Why did you wake this oldie up?

Same problem?
Book1
ABCDEFG
1DateProdInStockShippedShipShippedForShip
22004-10-101001000Sea Hawk
32004-10-111002000Sea Hawk
42004-10-121003000Sea Hawk
52004-10-131004000Sea Cloud
62004-10-141005000Sea Cloud
72004-10-151006000Sea Cloud
82004-10-16100400300Sea Hawk300Sea Cloud
92004-10-17100500300Sea Cloud
102004-10-18100600300Titanic
112004-10-19100700300Titanic
122004-10-20100300500Sea Cloud800Titanic
132004-10-21100400800Titanic
142004-10-22100500800QE2
152004-10-23100200400Titanic1200QE2
162004-10-241003001200QE2
172004-10-251004001200QE2
182004-10-261005001200QE2
192004-10-271000600QE21800QE2
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

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