How to populate cell if one of three values exists in a row
I need to return a value from a row to a cell if it meets criteria. For example, in the Promoted / Separated Column, I want it to populate either "Promoted", "Voluntary Sep" or "Involuntary Sep" if that value exists in the row. I've included a snip of the sheet below.
Best Answer
-
You will need to update the ranges to match what you have in the sheet, but here is the basic idea...
=IF(CONTAINS("Promoted", [Jan9]@row:[Feb20]@row), "Promoted", IF(CONTAINS("Voluntary Sep", [Jan9]@row:[Feb20]@row), "Voluntary Sep", IF(CONTAINS("Involuntary Sep", [Jan9]@row:[Feb20]@row), "Involuntary Sep")))
Answers
-
You will need to update the ranges to match what you have in the sheet, but here is the basic idea...
=IF(CONTAINS("Promoted", [Jan9]@row:[Feb20]@row), "Promoted", IF(CONTAINS("Voluntary Sep", [Jan9]@row:[Feb20]@row), "Voluntary Sep", IF(CONTAINS("Involuntary Sep", [Jan9]@row:[Feb20]@row), "Involuntary Sep")))
-
Thank you very much for the help! Worked like a champ!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!