Chaining together IF statements
I would like to know if it is possible to chain together if statements using the & symbol, similar to Excel.
e.g. =IF(Brand@row="","",Brand@row&" ")&IF(Model@row="","",Model@row&" ")
I have used this method in Excel, but this doesn't work in Smartsheet. Is there a way to make this work?
Answers
-
Hello @JoshOsborn
You can do it by nesting IF statements to perform multiple logical evaluations. :
=IF(Brand@row="","",IF(Model@row="",""))
Melissa Yamada
melissa@insightfulsheets.com
Data made simple, spreadsheets reimagined -
Thank you for your reply @Melissa Yamada, unfortunately, this won't work in this instance as I need to check and then display certain cells depending on whether or not they have a value in them, and separate dividers depending on which cells contain information.
-
You use the plus symbol to string things together in Smartsheet..
=IF("this" = "this", "output", "") + " " + IF("that" = "that", "another output", "") + " " + IF(…………………..
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 452 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!