Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have created a spreadsheet to track my investments. Each year is on a
separate tab in the worksheet. I would like to use a formula to calculate my total gain/loss for the any given year including the current one. How do I get Excel to check each month starting with the end of the year to the beginning until it reaches a month that has a value and use that value in the calculation. The formula =IF(O2=0,N2,O2)-C2 (where N2=end of Nov. total, O2=end of Dec. total, C2=beginning of the year total) works for 2005 because there is only one month to check for a zero value. I hope this makes sense to somebody out there. -- Ed J. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
making multiple columns when printing long datasheet | Excel Discussion (Misc queries) | |||
Justify text across multiple columns | Excel Discussion (Misc queries) | |||
How to have multiple columns in excel that will expand and colaps. | Excel Discussion (Misc queries) | |||
Pivot Table combining multiple columns | Excel Discussion (Misc queries) | |||
HOW TO MATCH MULTIPLE COLUMNS WITH OR WITHOUT GAPS IN eXCEL ? | Excel Worksheet Functions |