TheMacroNoob
Board Regular
- Joined
- Aug 5, 2022
- Messages
- 52
- Office Version
- 365
- Platform
- Windows
Hello excel experts,
I am trying to do something very frustrating. I have a table and I am trying to sum any combination of criteria in two columns in particular. A SUMIFS doesn't work for reasons I can't quite verbalize.
Is there a workaround with SUMPRODUCT or something similar to SUM based on this:
I am trying to do something very frustrating. I have a table and I am trying to sum any combination of criteria in two columns in particular. A SUMIFS doesn't work for reasons I can't quite verbalize.
Is there a workaround with SUMPRODUCT or something similar to SUM based on this:
Book2 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | |||
5 | |||||||||||||
6 | Any combination of Divison AND Region. So A Egypt, A USA, B USA, B Egypt should sum. | ||||||||||||
7 | |||||||||||||
8 | Division | Region | Month | Year | Profit | Division | A | B | |||||
9 | A | USA | 12 | 2016 | 50 | Region | USA | Egypt | |||||
10 | B | CANADA | 12 | 2016 | 50 | Month | 12 | ||||||
11 | C | USA | 12 | 2016 | 50 | Year | 2016 | ||||||
12 | B | USA | 12 | 2016 | 50 | ||||||||
13 | C | USA | 12 | 2016 | 50 | Total: | 50 | ||||||
14 | A | CANADA | 12 | 2016 | 50 | Intended: | 200 | ||||||
15 | A | EGYPT | 12 | 2016 | 50 | ||||||||
16 | A | EGPYT | 12 | 2016 | 50 | ||||||||
17 | |||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J13 | J13 | =SUM(SUMIFS(G9:G16,C9:C16,J8:K8,D9:D16,J9:K9,E9:E16,J10,F9:F16,J11)) |