Formula Assistance
Hi all,
I have the following formula set as a column formula which is used to set a status. It is working for most rows, but some it is returning #INVALID OPERATION
I am not able to work out why it works for some and not others?
Would really appreciate some assistance!
=IF(AND(NOT(ISBLANK([Outcome]@row)), [Mediation Date]@row <= TODAY()), "Mediation complete - outcome populated", IF(AND([Mediation Date]@row <= TODAY(), ISBLANK([Outcome]@row), NOT(ISBLANK([Mediation Date]@row))), "Mediation complete - pending outcome", IF([Mediation Date]@row > TODAY(), "Mediation booked", IF(NOT(ISBLANK([Booking forms sent]@row)), "Pending Booking", IF(AND(ISBLANK([Booking forms sent]@row), NOT(ISBLANK([CA assigned]@row))), "Pre-booking", IF(ISBLANK([CA assigned]@row), "New"))))))
Thanks
Best Answer
-
Hey There,
I would suggest 2 things to implement:
1) Include an else condition on the last IF statement (as a best practice)
i.e this statement --> "IF(ISBLANK([CA assigned]@row),"New")"
2) Change the checks on "[Booking forms sent]@row" to " = 1" / "= 0" instead of "NOT(ISBLANK" / "ISBLANK" respectively. (I'm assuming this field is a check box)
Regards,
Answers
-
Hey There,
I would suggest 2 things to implement:
1) Include an else condition on the last IF statement (as a best practice)
i.e this statement --> "IF(ISBLANK([CA assigned]@row),"New")"
2) Change the checks on "[Booking forms sent]@row" to " = 1" / "= 0" instead of "NOT(ISBLANK" / "ISBLANK" respectively. (I'm assuming this field is a check box)
Regards,
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!