Reputation: 59
I have data that looks like this:
10 | 11 | 12 | |
---|---|---|---|
A | row | row | row |
B | row | row | row |
C | row | row | row |
I want to sum the values in the cells if the row starts "A" and the column header is less than 12. I tried using SUMIFS, but it keeps giving me a value error. Thanks!
Upvotes: 0
Views: 196
Reputation: 152660
Use INDEX/MATCH to return the correct row:
=SUMIFS(INDEX(B:D,MATCH(C7,A:A,0),0),B1:D1,"<"&C8)
Upvotes: 2