Can an IF/CONTAIN formula look to another cell to return a value?
Is there a way for the true portion of of the formula return a value_if_true from another cell. If Column 1 contains a specific text string, it would return the value of Column 2?
=IF(CONTAINS("Specific Text", [Column1]:[Column1]), [Column2]))
So for example, the formula would be in Column 3 :
Column 1 @row has HOUSTON
Column 2 @row has Bob Johnson
Column 3 @row would be Bob Johnson
Thank you.
Best Answer
-
Yes. You would use a cell reference.
=F([Column1]@row = "HOUSTON", [Column2]@row)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
Yes. You would use a cell reference.
=F([Column1]@row = "HOUSTON", [Column2]@row)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Perfect. That worked. Thank you.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
I am trying the same thing, look for value in Category (the value is Travel from a drop down list) and if so then return a date in Completion Date. Here is the formula:
=IF(Category@row = "TRAVEL", [Estimated Completion Date]@row)
I get Invalid Column Value error, what am I doing wrong?
-
Hi @Jared F
I hope you're well and safe!
Ensure that the Estimated Completion Date column is a Date Column.
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives