mickeystanford_alumni
Board Regular
- Joined
- May 11, 2022
- Messages
- 129
- Office Version
- 2021
- Platform
- Windows
- MacOS
Hi, hope you are all well.
I am trying to build a formula with a sum of sumifs which one of the criterias references an index I am creating. The data looks like this:
=SUM(SUMIFS(C:C,A,A,"2010",D:D, here I want the formula to read the index "cars" in this case and kind of transpose those so that the sum includes in this case all Car brands. The result in this case should be 66.
The data is quite big so that is why I need it, to keep data clean and if any new brand gets added, I can easily include it in the data without the need to change the formula.
Thank you very much.
DATA
INDEX
I am trying to build a formula with a sum of sumifs which one of the criterias references an index I am creating. The data looks like this:
=SUM(SUMIFS(C:C,A,A,"2010",D:D, here I want the formula to read the index "cars" in this case and kind of transpose those so that the sum includes in this case all Car brands. The result in this case should be 66.
The data is quite big so that is why I need it, to keep data clean and if any new brand gets added, I can easily include it in the data without the need to change the formula.
Thank you very much.
DATA
YEAR | MONTH | SALES | BRAND |
2010 | 1 | 1 | MERCEDES |
2010 | 2 | 15 | MERCEDES |
2010 | 3 | 20 | MERCEDES |
2010 | 4 | 30 | PORSCHE |
INDEX
BRAND | ||
CARS | MERCEDES | PORSCHE |
PLANES | BOEING | JET |