Sum with CountIfs
I'm trying to sum if column 1 below = Yes and column 3 below = Yes.....I would like to return the value 2 since both say Yes. My formula isn't delivering this result.
=sum(countifs([Frame JC306395 Has Green QC Inspection Sticker]@row,"Yes",[2 Capacitor Racks Have Green QC Inspection Sticker]@row,"Yes))
Best Answer
-
You don't need a SUM, as SUM will add what is within a cell. Just combine 2 COUNTIF formulas and you are golden, UNLESS you are only counting them if both are YES...
=COUNTIF([Frame JC306395 Has Green QC Inspection Sticker]@row,"Yes")+COUNTIF([2 Capacitor Racks Have Green QC Inspection Sticker]@row,"Yes)
Answers
-
You don't need a SUM, as SUM will add what is within a cell. Just combine 2 COUNTIF formulas and you are golden, UNLESS you are only counting them if both are YES...
=COUNTIF([Frame JC306395 Has Green QC Inspection Sticker]@row,"Yes")+COUNTIF([2 Capacitor Racks Have Green QC Inspection Sticker]@row,"Yes)
-
=SUM(COUNTIF([Frame JC306395 Has Green QC Inspection Sticker]@row, "Yes"), COUNTIF([2 Capacitor Racks Have Green QC Inspection Sticker]@row, "Yes"))
-
Eric,
Excellent, thank you.
Jim
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 438 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 451 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 283 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!