Hi there!
In one formula, I am trying to "Sum If" Column A = x, however, the column I am trying to sum varies, so I would like the Sum Range to change based on a Match formula, where I can match the column header of the table I am summing off of. I attached a picture of the example.
In the example, If "X" in column A, and if it is week 3 (this will change), then sum the cells that meet those criteria.
Thanks for your help!
Last edited by erey; 10-13-2011 at 10:37 AM.
Please post an excel workbook rather than a pdf.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
=SUMPRODUCT(--(C4:C11="x"),INDEX(D4:F11,0,MATCH("week 3",D3:F3,0)))
Beau Nydal
and you can use that same setup with SUMIF, i.e.
=SUMIF(C4:C11,"x",INDEX(D4:F11,0,MATCH("week 3",D3:F3,0)))
Audere est facere
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks