IF WITH 2 CRITERIA
aheon
✭
I'm looking to make a formula that will do the following:
search all instances in Column2 for "A" IF subsequent Column3 has a value of "YES"....if all "A"s = "YES" than return a value of "YES" otherwise "NO"
I included an image that hopefully clarifies this a little more.
in the image I show 3 "A"s in Column2, 2=YES and 1=NO in Column3...so therefore the formula would return a value of "NO"
Comments
-
Hi,
you could try to check if the count of "NO" is >0 for the range where Column2="A". This would look like :
"=IF(COUNTIF(COLLECT(COLUMN3:COLUMN3,COLUMN2:COLUMN2,"A"),"NO")>0,"YES","NO")"
Could this help?
Cheers,
Paul.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!