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
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!