YTD total based on sum of last number in another row that has a value?
July 12, 2010 12:54 PM Subscribe
YTD total based on sum of last number in another row that has a value?
I need to sum up the values in one row based on the matching row below it. For example, if I have a target of $1000 a month, and I only have actual revenue numbers through June, I would like to calculate the year to date for the target from Jan to June. Once July numbers are put in, I'd want the YTD for the target to update to Jan to Jul.
I have tried a couple of variations on COUNT, INDEX and OFFSET.
Example is here:
http://malcommc.com/ytd.xls
I am using Excel 2003
posted by malcommc to computers & internet (12 answers total)
=SUMIF(C3:N3, ">0", C2:N2)
posted by ChrisHartley at 1:05 PM on July 12, 2010