G
Guest
I am trying to write an excel formula that looks at a range of dates across cells B7:W7 (which represent weeks) and wherever it finds a cell that matches the month quoted as it's column heading (ie Y6 = Jan-04) it must sum the corresponding cells on row 10 (ie B10:W10).
Cells in B7:W7 are formatted to show the day only (ie 4/1/04 is shown as 4) where as Y6 is formatted to show the month and year (ie 4/1/04 = Jan-04)
I've tried the formula below which looks fine as you go thru the "insert function" table, until you enter when it doesn't accept it any of it. Something is wrong with it but I don't know what
Any help would be appreciated
=SUMIF(MONTH(B7:W7),MONTH(Y6),B10:W10
Cells in B7:W7 are formatted to show the day only (ie 4/1/04 is shown as 4) where as Y6 is formatted to show the month and year (ie 4/1/04 = Jan-04)
I've tried the formula below which looks fine as you go thru the "insert function" table, until you enter when it doesn't accept it any of it. Something is wrong with it but I don't know what
Any help would be appreciated
=SUMIF(MONTH(B7:W7),MONTH(Y6),B10:W10