Need help with nested IF Statement
Am I missing something?
I'm trying to use a nested IF statement to check three cells in different columns for value. There should only be value in one of the 3 cells. Once it finds the the cell with the value, set column Type with value.
Here are the columns:
- Type (Number/Text) - Cell with the IF Statement
- Document (Multiple value drop-down)
- WIFI (Multiple value drop-down)
- Computer (Multiple value drop-down)
IF Statement
=IF(NOT(ISBLANK([Document]@row)), [Document]@row, "", IF(NOT(ISBLANK([WIFI]@row)), [WIFI]@row, "", IF(NOT(ISBLANK([Computer]@row)), [Computer]@row, "")))
Best Answer
-
You had your "" at the end of each if statement, which meant it never goes on to the next.
Try this:
=IF(NOT(ISBLANK(Document@row)), Document@row, IF(NOT(ISBLANK(Wifi@row)), Wifi@row, IF(NOT(ISBLANK(Computer@row)), Computer@row, "")))
Answers
-
You had your "" at the end of each if statement, which meant it never goes on to the next.
Try this:
=IF(NOT(ISBLANK(Document@row)), Document@row, IF(NOT(ISBLANK(Wifi@row)), Wifi@row, IF(NOT(ISBLANK(Computer@row)), Computer@row, "")))
-
MCorbin,
Thank you for the suggestion. Unfortunately, that didn't work. I get error, #UNPARSEABLE.
TM
-
MCorbin,
Got it working. Needed brackets for another column with space between the column name.
Thank you for your help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!