I am using the following formula to add my actual spending at every 2nd column for my YTD actual spending:
=SUMPRODUCT((MOD(COLUMN($B2:$E2),2)=0)*($B2:$E2)) In the YTD Budget column, I want to add the Budget-Jan and Budget-Feb cells ONLY if the Actual cell for that month (cell to left) is not blank. (So result for YTD Budget in top cell would be 4.) Can anyone help me with a formula for this? FYI, I don't want to convert my spreadsheet to a Table. Thank you! |
Category | Actual-Jan | Budget-Jan | Actual-Feb | Budget-Feb | YTD Actual | YTD Budget |
Bonus | 2 | 4 | 4 | 2 | ||
Interest Inc | 4 | 4 | 4 | 4 | ||
Other Inc | 6 | 4 | 4 | 6 | ||
Net Salary Dave | 2 | 4 | 4 | 2 | ||
Net Salary Karla | 2 | 4 | 4 | 2 |