Formula to exclude blanks in an IF statement
I am trying to write a formula that compares two columns and returns a yes or no if they are equal but I don't want it to recognize a blank field as being different. How would I write that?
=IF([Estimated number of participants]@row = [Confirmed Participant Volume]@row, "No", "Yes")
Best Answer
-
Not sure if the blank applied to either column so this formula allows for either.
If the columns match or either column is blank it will return a 'No' otherwise 'Yes'
=IF(OR(ISBLANK([Confirmed Participant Volume]@row),ISBLANK([Estimated number of participants]@row),[Estimated number of participants]@row = [Confirmed Participant Volume]@row), "No", "Yes")
Hope that helps
Thanks
Paul
Answers
-
Not sure if the blank applied to either column so this formula allows for either.
If the columns match or either column is blank it will return a 'No' otherwise 'Yes'
=IF(OR(ISBLANK([Confirmed Participant Volume]@row),ISBLANK([Estimated number of participants]@row),[Estimated number of participants]@row = [Confirmed Participant Volume]@row), "No", "Yes")
Hope that helps
Thanks
Paul
-
This is exactly what I needed! Thank you so much
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 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!