Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Help with nested if

112 3
cancel
Showing results for 
Search instead for 
Did you mean: 

I can not get this formula to work.... is it completely wrong or am I missing parathesis? 

 

IF({PMID}=“BathJR”,"Jason R",IF({PMID}=”BathSS”,“Stuart S",IF({PMID}=”BathBL”,“Brian L",IF({PMID}=”ODLBL”,“Brandon C",IF({PMID}=”WINBL”,“Evan V",IF({PMID}=”ODLJR,“Brandon C",IF({PMID}=”WINJR”,“Evan V"))))
3 Replies 3

I count 7 IFs, so you should have 7 closed parentheses at the end, not 4. Also, sometimes Airtable can get snippy about not have a closing ‘value if false’ at the end of a bunch of nested IFs. If adding the extra parentheses doesn’t work, you may need to add that at the end. 

Having said that, this is a great candidate for a SWITCH instead of multiple nested IFs. 

SWITCH worked perfect - thank you!

Yay!