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
Check out the Formula Handbook template!