IF formula not working for a drop down list
Hello,
I'm trying to equate a numerical value to a drop down list when I receive a form entry. Here is my list:
4 - very clear
3 - clear
2 - somewhat clear
1 - not clear
The formula I entered was =IF([Training Objectives]@row = "1 - not clear", 1, IF([Training Objectives]@row = "2 - somewhat clear", 2, IF([Training Objectives]@row = "3 - clear", 3, IF([Training Objectives]@row = "4 - very clear", 4,)))))
It results in unparseable. I also tried it without the [ ] referring to the column. Can anyone advise what I am doing wrong, thank you!!!
Best Answer
-
Hi @Courtney M,
It's an easy fix - you have an extra comma and bracket at the end of your formula. It should be:
=IF([Training Objectives]@row = "1 - not clear", 1, IF([Training Objectives]@row = "2 - somewhat clear", 2, IF([Training Objectives]@row = "3 - clear", 3, IF([Training Objectives]@row = "4 - very clear", 4))))
Hope this helps!
Answers
-
Hi @Courtney M,
It's an easy fix - you have an extra comma and bracket at the end of your formula. It should be:
=IF([Training Objectives]@row = "1 - not clear", 1, IF([Training Objectives]@row = "2 - somewhat clear", 2, IF([Training Objectives]@row = "3 - clear", 3, IF([Training Objectives]@row = "4 - very clear", 4))))
Hope this helps!
-
@Nick Korna OMG, that's embarrassing! Thank you so much!!!
-
No problem, glad it is fixed now for you. 😊
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!