sumif with multiple conditions and will need to divide total
Hi
In need of some help.
I would like for the formula to sum and then divide a total if two conditions are met
condition 1: must be a yes using the green dot with a check mark symbol
Condition 2: must be equal to CV PIP AC
Then the formula should total up and divide by 5 the values in "Total Contract Hours" column that meet those conditions.
I started the formula below. Any guidance is truly appreciated. Thank you
=SUMIFS(STATUS:STATUS, "Yes", PIP TYPE:PIP TYPE, = CV PIP AC, [TOTAL CONTRACT HOURS]:[TOTAL CONTRACT HOURS])
Answers
-
You're very close! 🙂
SUMIFS (plural) wants the range to SUM at the beginning of the function instead of the end:
=SUMIFS([TOTAL CONTRACT HOURS]:[TOTAL CONTRACT HOURS],
Then you can list each column and criteria after it. Keep in mind that columns with spaces need to have [square brackets] around their name, and criteria need "quotes" if you're looking for text or a symbol.
Try:
=SUMIFS([TOTAL CONTRACT HOURS]:[TOTAL CONTRACT HOURS], STATUS:STATUS, "Yes", [PIP TYPE]:[PIP TYPE], "CV PIP AC")
Then you can divide the entire formula by 5 (once you're satisfied that the SUM is what you want to see):
=SUMIFS([TOTAL CONTRACT HOURS]:[TOTAL CONTRACT HOURS], STATUS:STATUS, "Yes", [PIP TYPE]:[PIP TYPE], "CV PIP AC") / 5
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!