Lookup a row and count all the "Yes" values across multiple columns
I can do both of these functions separately without issue, but am struggling to combine them.
I have 2 sheets and would like to lookup a value from the 1st sheet on the 2nd sheet, and then return all the "yes" fields on that row from a set of 8 columns.
I can use match to lookup the value from the 1st sheet and find it in the 2nd sheet.
I can use countif to return how many "yes" values there are across the 8 columns for a specific row.
But how can i combine match with countif? I keep getting incorrect argument.
Any thoughts on this?
Thanks.
Answers
-
Hi @jimmbo
Can you add a column to the second sheet and put the COUNTIF in there and then return the value of that column in an INDEX MATCH, matching on the lookup value?
-
I could certainly do that if necessary, but I was hopeful to do it within 1 function and not require the additional column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 429 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!