DailyCaffeine
New Member
- Joined
- Feb 9, 2022
- Messages
- 25
- Office Version
- 365
- Platform
- Windows
Good afternoon,
I was wondering if someone could help me shorten or change my formula to something easier to understand?
=SUMPRODUCT(('Tab 2'!$E$6:$P$6=$A$4)*('Tab 2'!$D$8:$D$135=$A11)*('Tab 2!$E$8:$P$135))
Tab 2 contains a list of products that needs to be sorted in Tab 1.
The formula first checks which column in Tab 2 E6:P6 have the same month in Tab 1 A4
It then checks which rows in Tab 2 D have the same category as Tab 1 A11
Finally, it combines all of the values with the same month and category in a cell in Tab 1
Tab 2 looks as below
Tab 1 looks as below
I was wondering if someone could help me shorten or change my formula to something easier to understand?
=SUMPRODUCT(('Tab 2'!$E$6:$P$6=$A$4)*('Tab 2'!$D$8:$D$135=$A11)*('Tab 2!$E$8:$P$135))
Tab 2 contains a list of products that needs to be sorted in Tab 1.
The formula first checks which column in Tab 2 E6:P6 have the same month in Tab 1 A4
It then checks which rows in Tab 2 D have the same category as Tab 1 A11
Finally, it combines all of the values with the same month and category in a cell in Tab 1
Tab 2 looks as below
A | B | C | D | E | F | G |
---- | ---- | ---- | Category | April 2022 | May 2022 | June 2022 |
---- | ---- | ---- | Enhanced Services | 1000 | 2000 | 3000 |
Tab 1 looks as below
April 2022 | |
A | B |
Category | Total |
Enhanced Services | 1000 |