Help w/ IF OR formula
Hi team - I have a formula that is working for 90% of my selections.
I column called Type with the following drop down options:
- 1st Line Control Testing
- 1st Line Management Identified
- 2nd Line Compliance Self-Identified
- Audit Identified
- Compliance Identified
- Compliance Testing
- DE Assessment Identified
- ECORT-IT
- Risk Management Identified
When I select one of the Types I need the MII/SLOD/3LOD column to show the appropriate selection from the drop down menu:
- FLOD/MII
- SLOD
- 3LOD
I am using the following formula and everything works EXCEPT when I select Audit Identified:
=IF(OR(Type@row = "1st Line Control Testing", Type@row = "1st Line Management Identified", Type@row = "DE Assessment Identified"), "FLOD/MII", IF(OR(Type@row = "2nd Line Compliance Self-Identified", Type@row = "Compliance Identified", Type@row = "Compliance Testing", Type@row = "ECORT-IT", Type@row = "Risk Management Identified"), "SLOD", IF(OR(Type@row = "Audit Identified", "3LOD"))))
Here's what happens:
Any ideas why I'm getting the INCORRECT ARGUMENT error when that is selected but every other selection works as expected?
Best Answer
-
Hey @jmoser
In your last criteria, you haven't closed off your OR statement before the "3LOD". With only the one term, the OR isn't necessary.
Try this
=IF(OR(Type@row = "1st Line Control Testing", Type@row = "1st Line Management Identified", Type@row = "DE Assessment Identified"), "FLOD/MII", IF(OR(Type@row = "2nd Line Compliance Self-Identified", Type@row = "Compliance Identified", Type@row = "Compliance Testing", Type@row = "ECORT-IT", Type@row = "Risk Management Identified"), "SLOD", IF(Type@row = "Audit Identified", "3LOD")))
cheers,
Kelly
Answers
-
Hey @jmoser
In your last criteria, you haven't closed off your OR statement before the "3LOD". With only the one term, the OR isn't necessary.
Try this
=IF(OR(Type@row = "1st Line Control Testing", Type@row = "1st Line Management Identified", Type@row = "DE Assessment Identified"), "FLOD/MII", IF(OR(Type@row = "2nd Line Compliance Self-Identified", Type@row = "Compliance Identified", Type@row = "Compliance Testing", Type@row = "ECORT-IT", Type@row = "Risk Management Identified"), "SLOD", IF(Type@row = "Audit Identified", "3LOD")))
cheers,
Kelly
-
That 100% worked!!!
Thanks for your input, @KDM !
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!