Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I hope someone can help me. I am making a spreadsheet to keep track of petty cash. I have 3 colmns, c,d,e In C I have the balance of the account, in D I have the amount that is spent and in E I have the amount that is deposited into the account. I am not having a hard time getting the remaining balance in Column C after an amount of expendeture is put into Column D. I know how to lock the cells after the calculation, no problem there eather. What is getting me is that there are some days that there is not expendeture and so a "0" amount goes into the cell in Column C because I am using an IF statement that says IF(D3=0,0) in the cell in Column C. The formula needs the last value greater than 0 in Column C to subtract the value in Column D in order to get the true remaining balance. How do I get the formula to look for the last value greater than 0 in Column C so that it will make the calculation C-D and be the correct remaining balance? This is what I have tried along with many other attempts. =IF($D5=0,0,IF($D50,($C4-$D5))) -- needtolearn ------------------------------------------------------------------------ needtolearn's Profile: http://www.excelforum.com/member.php...o&userid=31453 View this thread: http://www.excelforum.com/showthread...hreadid=512640 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lock tab in sheet 2 until cell in sheet one is completed | Excel Worksheet Functions | |||
How to get a row consecutive from a sheet to another | Excel Worksheet Functions | |||
Using a relative SHEET reference for source data in a chart | Charts and Charting in Excel | |||
petty cash report | Excel Discussion (Misc queries) | |||
I need a petty cash template. can anyone help me? | Excel Discussion (Misc queries) |