I'm struggling with SUMIFS today for some reason.
I've got an array of cells that contains data based upon a week and year, for different sources which are named in column A, like this:
<tbody>
</tbody>
I need to sum these values by a name, for a range of weeks. The name I need to sum is located in cell A10, and the start week is in B10 and ending week is in C10
What I'm coming up with looks like this:
=SUMIFS(B2:E5,B2:E2,">="&B10,B2:E2,"<="&C10,A2:A5,A10)
This results in a value error.
B2:E5 is the table of values (Sum range)
B2:W2 is the date ranges (Criteria Range 1 and Criteria Range 2)
">="&B10 should, if I'm doing it right, include all values greater than my start week. (Criteria 1)
"<="&C10 should, again, if I'm doing it correctly, include weeks less than my start week. (Criteria 2)
A2:A5 is my range of names, and (Criteria Range 3)
A10 is the criteria to match my target name. (Criteria 3)
Any ideas on what I'm doing wrong? Your help is most appreciated.
I'm not tied to SUMIFS. If there's a better way, I'm glad to hear your suggestions.
I've got an array of cells that contains data based upon a week and year, for different sources which are named in column A, like this:
A | B | C | D | E | |
1 | WK 1-18 | WK 2-18 | WK 3-18 | WK 4-18 | |
2 | Sally | 1 | 2 | 3 | 4 |
3 | Joe | 4 | 8 | 16 | 32 |
4 | Susie | 2 | 4 | 6 | 8 |
5 | James | 3 | 6 | 9 |
<tbody>
</tbody>
I need to sum these values by a name, for a range of weeks. The name I need to sum is located in cell A10, and the start week is in B10 and ending week is in C10
What I'm coming up with looks like this:
=SUMIFS(B2:E5,B2:E2,">="&B10,B2:E2,"<="&C10,A2:A5,A10)
This results in a value error.
B2:E5 is the table of values (Sum range)
B2:W2 is the date ranges (Criteria Range 1 and Criteria Range 2)
">="&B10 should, if I'm doing it right, include all values greater than my start week. (Criteria 1)
"<="&C10 should, again, if I'm doing it correctly, include weeks less than my start week. (Criteria 2)
A2:A5 is my range of names, and (Criteria Range 3)
A10 is the criteria to match my target name. (Criteria 3)
Any ideas on what I'm doing wrong? Your help is most appreciated.
I'm not tied to SUMIFS. If there's a better way, I'm glad to hear your suggestions.
Last edited: