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
- 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!