Greetings all, I would like to know if it is possible to sum consecutive cells (in a row for instance), based on criteria matching the Column headers. The attached excel will provide further clarity to this question.
Thanks you very much!
Greetings all, I would like to know if it is possible to sum consecutive cells (in a row for instance), based on criteria matching the Column headers. The attached excel will provide further clarity to this question.
Thanks you very much!
This will sum all the dollar values in B2:H2 according to two criteria:![]()
Please Login or Register to view this content.
1) The corresponding number above it in range B1:H1 is more than or equal to the value in D9
2) The corresponding number above it in range B1:H1 is less than D9+E9
Thank yo Ben_hensel
Good start but the formula needs to consider the value in F9 and match it to the appropriate row in my table (say A1:H3). If the value in F9 was HE00140, I need the formula to use the row corresponding to the value from F9 - in this second instance, H00140 (Row 3...)
Change B2:H2, in Ben's formula to:
INDEX(B2:H3,MATCH(F9,A2:A3,0),0)
So finally,
=SUMIFS(INDEX(B2:H3,MATCH(F9,A2:A3,0),0), B1:H1, ">="&D9, B1:H1, "<"&D9+E9)
Regards,
Haseeb Avarakkan
__________________________________
"Feedback is the breakfast of champions"
Awesome! Thank you everyone for the great Help!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks