Country |
Sales Person |
Product |
Jan |
Feb |
Mar |
Apr |
May |
Jun |
Jul |
Aug |
Sep |
Oct |
Nov |
Dec |
Canada |
John |
Milk |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Canada |
John |
Fruit |
2 |
2 |
3 |
3 |
4 |
4 |
5 |
5 |
6 |
6 |
7 |
7 |
Canada |
John |
Meat |
11 |
21 |
31 |
41 |
51 |
61 |
71 |
81 |
91 |
101 |
111 |
121 |
USA |
John |
Milk |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
210 |
211 |
212 |
Given the table above, how do I make a SUMPRODUCT formula that sums 'Jan' to 'Dec' dynamically based on other columns criteria.
i.e. There's input somewhere on Excel cells for
From Month = "May"
End Month = "Oct"
Country = Canada
Sales Person = "John"
Product = "Meat"
Given the criteria above, my SUMPRODUCT result should be 456.
I tried the formula below but it's not giving me any value.
FYI...the actual file that I've created, the range is actually a table...however, the above formula that I've created is a test to see if I can sum multiple range with multiple column criteria.
Bookmarks