SUMIF vs. SUMIFS
I am looking to add the total hotel night stays from multiple labels in a single criteria column. This is my formula, but it results in "0" which is incorrect:
=SUMIFS(NIGHTS10:NIGHTS38, AFFILIATION10:AFFILIATION38, "Researcher", AFFILIATION10:AFFILIATION38, "RAN", AFFILIATION10:AFFILIATION38, "ECD awardee")
NIGHTS:NIGHTS = # of hotel night stays
AFFILIATION:AFFILIATION = location of labels (criteria)
SUMIF or SUMIFS? What am I missing in the formula above if using SUMIFS?
Patty
Comments
-
Hi Patty,
Try this.
SUMIFS adds numbers within a range that meet multiple criteria so all criteria needs to be true for the formula to sum.
=SUMIFS(NIGHTS10:NIGHTS38; AFFILIATION10:AFFILIATION38; "Researcher") + SUMIFS(NIGHTS10:NIGHTS38; AFFILIATION10:AFFILIATION38; "Ran") + SUMIFS(NIGHTS10:NIGHTS38; AFFILIATION10:AFFILIATION38; "ECD awardee")
The same version but with the below changes for your and others convenience.
=SUMIFS(NIGHTS10:NIGHTS38, AFFILIATION10:AFFILIATION38, "Researcher") + SUMIFS(NIGHTS10:NIGHTS38, AFFILIATION10:AFFILIATION38, "Ran") + SUMIFS(NIGHTS10:NIGHTS38, AFFILIATION10:AFFILIATION38, "ECD awardee")
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
YES! WOOHOO!!
thank you, Andree. -
Great!
Happy to help!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 444 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 290 Events
- 35 Webinars
- 7.3K Forum Archives