OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Formula for computing surplus stock

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
Ryu
Newbie
Newbie


Joined: 13 Jun 2011
Posts: 1

PostPosted: Mon Jun 13, 2011 1:34 am    Post subject: Formula for computing surplus stock Reply with quote

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
View user's profile Send private message
Robert Tucker
Moderator
Moderator


Joined: 16 Aug 2004
Posts: 3367
Location: Manchester UK

PostPosted: Mon Jun 13, 2011 2:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group