Trouble getting multiple IF statements to return a value
I have been able to have one IF statement return one value but when i try to add multiples i receive #unpareseable. Can someone tell me what i'm doing wrong?
Trying to have a
"Cognitive" value return "Sport Gait "1"
"Gait" value return "Sport Gait 2"
"Both" value return "Sport Gait 1&2"
=IF([Why did they not pass?]@row= "Cognitive", "Sport Gate 1"), = IF([Why did they not pass?]@row= "Gait", "Sport Gate 2", = IF([Why did they not pass?]@row= "Both", "Sport Gait 1&2")
Best Answer
-
The formula below should return what you are looking for, while leaving the cell blank if there is nothing in the "Why did they not pass?" cell. The key is the formatting of the nested IF statements. This formula has three if statements. If the first is true, it outputs "Sport Gate 1". If not, it evaluates the second IF statement. If the second is true, it outputs "Sport Gate 2". If not, it evaluates the third IF and outputs "Sport Gate 1&2" for TRUE and a blank cell for FALSE. Hope this helps!
=IF([Why did they not pass?]@row= "Cognitive", "Sport Gate 1", IF([Why did they not pass?]@row= "Gait", "Sport Gate 2", IF([Why did they not pass?]@row= "Both", "Sport Gait 1&2","")))
Cheers,
John
Answers
-
The formula below should return what you are looking for, while leaving the cell blank if there is nothing in the "Why did they not pass?" cell. The key is the formatting of the nested IF statements. This formula has three if statements. If the first is true, it outputs "Sport Gate 1". If not, it evaluates the second IF statement. If the second is true, it outputs "Sport Gate 2". If not, it evaluates the third IF and outputs "Sport Gate 1&2" for TRUE and a blank cell for FALSE. Hope this helps!
=IF([Why did they not pass?]@row= "Cognitive", "Sport Gate 1", IF([Why did they not pass?]@row= "Gait", "Sport Gate 2", IF([Why did they not pass?]@row= "Both", "Sport Gait 1&2","")))
Cheers,
John
-
Thank you!!! That worked
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!