#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Formulas

I have a worksheet which calculates the usage of a consumable. Column A is
the decreasing value of a substance and the value in column B is the
difference of the values in column A. So if A1 is 200 and A2 is 150 then B2
would be 50. That is the easy part. The problem is when the consumable in
column A gets to a low enough value where a new container needs to be put
into use. In that case the value in, let's say, A2 would be greater than the
value in A1. So there needs to be an 'IF' condition to add those two values.
But then there is still a third value that needs to be subtracted from the
value of the first condition. The third value would be the ending amount of
the consumable at the end of the day. So...if A1 is 10lbs and a new barrel
is added with a value of 400lbs in A2 and the ending value of the day is
375lbs then B2 needs to be 35lbs. There needs to be a formula to be
essentially: 10+400-375=35 or A1+A2-"375"=B2. The 375 value needs to be
entered but there is already a value in A2 of 400. Not sure if this can be
done or if there needs to be another column created. I hope this all makes
sense and thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formulas

Would suggest to use another column to so as to represent new barrel
additions..

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

I have a worksheet which calculates the usage of a consumable. Column A is
the decreasing value of a substance and the value in column B is the
difference of the values in column A. So if A1 is 200 and A2 is 150 then B2
would be 50. That is the easy part. The problem is when the consumable in
column A gets to a low enough value where a new container needs to be put
into use. In that case the value in, let's say, A2 would be greater than the
value in A1. So there needs to be an 'IF' condition to add those two values.
But then there is still a third value that needs to be subtracted from the
value of the first condition. The third value would be the ending amount of
the consumable at the end of the day. So...if A1 is 10lbs and a new barrel
is added with a value of 400lbs in A2 and the ending value of the day is
375lbs then B2 needs to be 35lbs. There needs to be a formula to be
essentially: 10+400-375=35 or A1+A2-"375"=B2. The 375 value needs to be
entered but there is already a value in A2 of 400. Not sure if this can be
done or if there needs to be another column created. I hope this all makes
sense and thank you for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 03:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"