And/Or Formulas
Hi All,
Need help with an IF statement using AND/ OR. I need to be able to check the box whether the vendor change/disc change/vendor catalog columns are blank or some of them have a value (ex: Vendor Change) in it and I keep getting an error.
Here is my formula, any suggestions.
=IF(AND([Vendor Change]@row = "Vendor Change", [DISC CHANGE]@row = "Discontinuation", [Vendor Catalog]@row = "Vendor Catalog"), 1, IF(OR([Vendor Change]@row, "", [DISC CHANGE]@row, "", [Vendor Catalog]@row, ""), 1, 0)))
Thanks,
Kelly
Best Answer
-
This will check if at least one is not blank.
=IF(OR([Vendor Change]@row <> "", [DISC CHANGE]@row <> "", [Vendor Catalog]@row <> ""), 1)
Answers
-
I'm not sure I follow exactly what you are wanting to accomplish. Will it always be those text strings in those columns? Does it matter what text is in them or just blank vs not blank? Your existing formula is checking the box if none are blank or all are blank but not for any combination. Is that accurate?
-
Hi Paul,
Yes those are always the text strings. I would like the box to check when there is any of those text strings in the columns. If two of the columns have the text strings and third column is blank, the box should check. If the columns have no text strings then there would be no check box. Does that make more sense.
-
This will check if at least one is not blank.
=IF(OR([Vendor Change]@row <> "", [DISC CHANGE]@row <> "", [Vendor Catalog]@row <> ""), 1)
-
Thanks Paul that did work. Appreciate your help!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!