apply formula to cell based on drop down Yes/No selection
I am trying to achieve this outcome where if i select a cell drop down to "YES" it will apply a formula to the Production Email cell that will create an email address that uses a Facility Number along with some defined text.
Email Formula:
="Production" + [Facility Number]@row + "@Company.com"
I need to have something like IF "Production Email Required" = Yes then insert - Email Formula
Any assistance or guidance will be greatly appreciated.
Best Answer
-
Happy to help. 👍️
Think of it this way...
=IF(this is true, then do this, otherwise do that)
=IF(this is true, run this other formula, otherwise do that)
When nesting formulas, I find it is sometimes helpful to use "helper cells".
Put this in one column we will call for this example "Helper Column 1"...
="Production" + [Facility Number]@row + "@Company.com"
Then put this in another column:
=IF([Production Email]@row = "Yes", [Helper Column 1]@row)
Now you replace "[Helper Column 1]@row" with the formula that is in that cell (excluding the initial = symbol) and you have successfully nested two formulas together.
Answers
-
Try this...
=IF([Production Email]@row = "Yes", "Production" + [Facility Number]@row + "@Company.com")
-
Amazing, Thank you so much for your response, it works perfectly. I knew I needed an If Statement but couldn't wrap my head around how to format that in the formula. Appreciate the help!
-
Happy to help. 👍️
Think of it this way...
=IF(this is true, then do this, otherwise do that)
=IF(this is true, run this other formula, otherwise do that)
When nesting formulas, I find it is sometimes helpful to use "helper cells".
Put this in one column we will call for this example "Helper Column 1"...
="Production" + [Facility Number]@row + "@Company.com"
Then put this in another column:
=IF([Production Email]@row = "Yes", [Helper Column 1]@row)
Now you replace "[Helper Column 1]@row" with the formula that is in that cell (excluding the initial = symbol) and you have successfully nested two formulas together.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 396 Global Discussions
- 213 Industry Talk
- 448 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 133 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!