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.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!