| View previous topic :: View next topic |
| Author |
Message |
Ryu Newbie

Joined: 13 Jun 2011 Posts: 1
|
Posted: Mon Jun 13, 2011 1:34 am Post subject: Formula for computing surplus stock |
|
|
I've got one more formula I need to work out, but I can not work out how to do it so I'm going to type it here and hope that someone can work it out for me.
We have the option of buying stock by the container load. If we buy by the container load we have pallets of stock left over that I can not get to show up as I'm unsure how to do it. I'll give you an example.
Month one we need 2.7 containers so we have to buy 3 containers.
Month two we need 2.7 containers so we have to buy 3 containers.
Month three we need 2.6 containers.
Now according to the spreadsheet we have to buy 3 containers, but in reality we have a stored stock of 0.6 of a container so we would only need to buy 2 containers, but I can't work out how to get it work like that on the spreadsheet.
Moderation probe1: set descriptive subject |
|
| Back to top |
|
 |
Robert Tucker Moderator


Joined: 16 Aug 2004 Posts: 3367 Location: Manchester UK
|
Posted: Mon Jun 13, 2011 2:34 am Post subject: |
|
|
Column A insert number needed.
Column B insert 3 in B1 and the formula =ROUNDUP(A2-SUM($C$1:C1)) in B2 and fill down as far as needed.
Column C insert the formula =B1-A1 in C1 and fill down
I think that's working, not checked too thoroughly. _________________ LibreOffice 3.6.6 on Fedora 18, LibreOffice 4.0.2 on Ubuntu 13.04 (Double Boot) |
|
| Back to top |
|
 |
|