βApr 02, 2020 09:09 AM
I need some Airtable Formula help. I am trying to merge the below. Iβve been looking at it so long I canβt work out what is going on any more!
This works:
IF({Rejected}, IF({Rejection Reason}=βUnresponsiveβ,βUnresponsiveβ,
IF({Rejected}, IF({Rejection Reason}!=βUnresponsiveβ,βRejectedβ))))
And this does too:
IF(Rejected}=BLANK(),IF({Status 1}+{Status 2}=2,βDoneβ,
IF(Rejected}=BLANK(),IF({Status 1}+{Status 2}=1,βOne of twoβ,
IF(Rejected}=BLANK(),IF({Status 1}+{Status 2}=0,βPendingβ
))))))
However, if I put them together, then it only displays the results of the first 2 lines.
If I switch it around so the 3 lines goes first, then it only displays the results of the 3 lines.
Not sure why but any help gratefully received. :pray:
Solved! Go to Solution.
βApr 02, 2020 09:25 AM
Try this:
IF({Rejected}, IF({Rejection Reason}="Unresponsive", "Unresponsive", "Rejected"), IF({Rejected=BLANK(), SWITCH({Status 1}+{Status 2}, 2, "Done", 1, "One of Two", "Pending")))
βApr 02, 2020 09:25 AM
Try this:
IF({Rejected}, IF({Rejection Reason}="Unresponsive", "Unresponsive", "Rejected"), IF({Rejected=BLANK(), SWITCH({Status 1}+{Status 2}, 2, "Done", 1, "One of Two", "Pending")))
βApr 02, 2020 09:56 AM
Fantastic! That works perfectly. Thank you so much.
Any idea why the way I tried didnβt work?
βApr 02, 2020 01:28 PM
If I had to guess, Iβd say it was something to do with how you combined the formulas, likely improper nesting. Simplifying redundant IF() statements usually makes it easier to see where the different pieces of a complicated formula go.