IF(AND Invalid Operation Error
Hi!
I need help fixing this formula - keep receiving an Invalid Operation error.
I'm trying to return "No" if an email from the row in the Smartsheet file matches an e-mail from the cross-sheet reference's file in the E-mail column and that cross-sheet reference's row also contains "Mgmt" in the User Role column. (So two conditions must be met from the cross-reference sheet in order to return a "No")
=IF(AND([User Email]@row = {E-mail}, {User Role} = "Mgmt"), "No", "Yes")
Thanks!
Answers
-
You would need to use a COUNTIFS to count how many rows match the two criteria and then nest it in an IF to say "IF the COUNTIFS is greater than or equal to 1 then "No", otherwise "Yes".
So basically you want to take out the AND completely and replace it with the COUNTIFS is greater than or equal to 1 portion.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!