Formula help for multiple if statements that pull in a field value

Hi.

I have a form that I am writing into Smartsheet. Part of the form has a drop down for the Analysis Type. Some of those types will cause another field to show to obtain additional information. I need to keep them as separate fields, but I'm trying to create a formula field that will use the Analysis Type and pull in a label and then the value from the applicable field. For example, if they choose Brand Analysis, it would return Brand Analysis: Brand A. I am getting an unparseable error. I'm not sure if it is because of my formula or if it is because I can't pull in a field value into a formula. I put for it to return no value for the false, but I may have that syntax wrong.

=IF([Analysis Type]@row = "Brand Analysis", "Brand Name: [Brand Name]",

IF([Analysis Type]@row = "Hotel Analysis", "Spirit Code for Analysis: [Spirit Code for Analysis]",

IF([Analysis Type]@row = "Partner Analysis", "Partner Name: [Partner Name]",

IF([Analysis Type]@row = "Region Analysis", "Region Name: [Region Name]",

IF([Analysis Type]@row = "Other","Other Analysis Type: [Other Analysis Type]",” “)))))

Thank you for any help you can provide!

Sarah

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!