Using SUMIFS, I'm trying to calculate the sum of hours when three criteria are met:
So if I'm matching on:
I can get it to work by matching on category and team, but having difficulty when I include the search on the number of the month:
Any idea on how I should modify the formula to achieve this?
- one column matches on a category
- another column matches on a team name
- and a third column matches on the number of the month
Category | Team | Period | Hours |
---|---|---|---|
Maintenance | Alpha | 11/21/21 | 8 |
Administration | Beta | 11/5/21 | 55 |
Project | Omega | 12/6/21 | 10 |
Administration | Beta | 11/20/21 | 98 |
Supplies | Orange | 12/26/21 | 5 |
So if I'm matching on:
- Month number = 11 (for November)
- Category = Administration
- Team = Beta
I can get it to work by matching on category and team, but having difficulty when I include the search on the number of the month:
Excel Formula:
=SUMIFS(q_CombinedData3[Hours],q_CombinedData3[Category],$B8,q_CombinedData3[Team],X$7,q_CombinedData3[Period],MONTH(q_CombinedData3[Period])=11)
Any idea on how I should modify the formula to achieve this?