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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!