Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

IF, IFERROR, SEARCH nested formula help

✭✭✭
edited 04/06/23 in Formulas and Functions

Hi team -

Looking for help in either fixing the below formula or creating a new formula.

Goal behind the logic:

Be able to use this cell to confirm if another column,same row (Level) has the abbreviation "Mgr."

If it doesn't add a dash "-", full stop.

If it does, we need to search another column,same row (rep region) for the letters "AE", "RM", or "RS".

  • If the string has "RM" show "RM" in this cell.
  • If the string has "AE" show "AE" in this cell
  • Or If the string has "RS" show "RM" in this cell (yes, change to RM)

Chart: Blue columns is the data, orange column is where the formula will live.



Syntax: (Coming up as #unparseable)

=IF([Level]@row="Mgr",IFERROR(IF(SEARCH("RM",[Rep Region]@row,1),"RM"),IFERROR(IF(SEARCH("AE",[Rep Region]@row,1),"AE"),IF(SEARCH("RS",[Rep Region]@row,1),"RM"))),"-")

Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions