So yesterday I created a thread (http://www.excelforum.com/excel-prog...ng-column.html) that would clear a specific content if a date (or rather a day) matched the criteria. (I got helped by TMS and diberlee with a nice macro that helped me with that.)
Today I'm continuing with that document and need to sum the columns if the date in a row is the correct month and year.
Ex. Row 1 contains the date "yyyy-mm-dd" and row 2-5 contains empty cells or the value x. The x values are all random placed.
So, I want to sum all the "x" for februari 2014.
I'd rather use a formula here than a macro/VBA-code but anything will do. I have tried myself with =sumifs and =sumproduct but with no sucess.
See attached file for example and for my =sumproduct formula.
Thanks in advance
/Johan
Bookmarks