I am pulling my hair out
I am trying to look at data in column Location and if it says Annually , put a 1. if it says Not in last year ,put a 2 and Not in last 2 years put a 3. This is the formula that I used but I keep getting #unparseable. What am I doing wrong. It works fine in excel.
=IF([Location]1="Annually",1,IF([Location]= "Not in last year",2,IF([Location]= "Not in last 2 years",3, NA)
Answers

Hello @Kelly 243
Give this a shot and let me know if it works for you:
=IF(Location@row = "Annually", 1, IF(Location@row = "Not in last year", 2, IF(Location@row = "Not in last 2 years", 3, "NA")))

Hi there,
Another approach to solve this problem would be to rather use the function VLOOKUP instead of boxed IF's.
It would have the advantage that you can extend the list easily if you get more and more different values.
When you are using this VLOOKUP formula, then please pay attention to the $sign to address absolut (not just relative) as well, please don't forget the 4thterm which should be always "false".
To keep this solution absolute clean you could put your data list (lookup_table) to a different sheet (but you are not supposed to).
Hope I could attribute a viable solution.
Best regards
Hans P. ... from Germany
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.4K Get Help
 321 Global Discussions
 197 Industry Talk
 418 Announcements
 4.2K Ideas & Feature Requests
 127 Brandfolder
 154 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 278 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!