LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default problem with formulas (2)

Sorry for the confusion and repost, i'll try to explain better this time.
here's a copy of the actual sheet http://www.savefile.com/files/2073433
and below is an example of it

this is an on going oil log, that has to account for all oil used and were
it was used.

row 4, in this example i'm starting with a new batch amount (C4), and i
produced (G4), since this is a new batch there is no previous batch, (H4)
should be blank and I4 (amount used from previous batch) should equal G4, and
J4 is the remainning balance C4-G4.

row 5, i have no new batch (C5) so this cell is empty, but i produced (G5)
and since G5 is less than J4 cells H5 and I5 should be blank (i can't get H5
to go blank) and J5 is the result of J4-G5

row 6, now i have an amount in C6 (batch amount) and produced in G6, but
since G6 is more than J5 i need H6 to equal J5 and I6 to equal the difference
between G6 and H6, (H6+I6=G6) with the formula i'm using it seems to be doing
this. and J6 should equal J5+C6-G6

this sheet will be onging.

C G H I J
4 127,423 54,000 54,000 73,000
5 43,200 30,223
6 149,481 36,000 30,223 5,777 143,704

the formulas i'm using are.

column H- =IF(G50,J4,"")
column I- =SUM(IF(C50,G5-H5))
column J- =SUM(IF(C50,(J4+C5-G5),IF(G50,(J4-G5))))

hope this clears it up a little bit

thanks again
Dave

 
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
problem copying formulas Dan in Anchorage Excel Discussion (Misc queries) 1 February 17th 09 07:55 PM
Addition formulas problem Kaylen Excel Discussion (Misc queries) 12 October 23rd 08 09:55 PM
Two Formulas, and a problem with both..................... Dan the Man[_2_] Excel Discussion (Misc queries) 3 September 26th 08 05:42 PM
Problem using average or sum formulas Miki Excel Worksheet Functions 3 August 8th 08 06:28 PM
Problem with formulas tufftoy Excel Worksheet Functions 4 July 20th 06 12:51 PM


All times are GMT +1. The time now is 02:18 AM.

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

About Us

"It's about Microsoft Excel"