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 FIND RIGHT String

✭✭
edited 12/09/19 in Formulas and Functions

Hello,

I’ve been searching all over the Smartsheet community since last week and was hoping someone could offer some assistance. I have a long Status value that I need to auto populate a shorter value in another column. I really just need a contains formula but I haven't seen that as an option here.

 

I could do this for the first half of the status because that was the beginning of the status (LEFT). But for the second half I’m having a lot of trouble as it begins on the Right and not the Left.

 

My formula for the Left status is:

=IF(FIND("FUNC", Status2), "Functional", IF(FIND("FS", Status2), "Fast Formula", IF(FIND("CS", Status2), "Continuation Services", IF(FIND("REP", Status2), "Report", IF(FIND("CON", Status2), "Conversion", IF(FIND("INT", Status2), "Interface"))))))

 

Some of the status values are:

FUNC - 5 - Go Live

FUNC - 3 - Prototype

CON - 7 - Completed

CS – Closed

 

I need it to give me the Right part string after the number and hyphen ie:

Go Live

Prototype

Completed

Closed

 

I tried using the same algorithm as the Left formula but its UNPARSEABLE.

 

=IF(FIND("Go Live", Status2), "Go Live", IF(FIND("Prototype", Status2), "Prototype",  IF(FIND(“Completed", Status2), "Completed", IF(FIND("Closed", Status2), "Closed"))))

 

Any help or guidance would be greatly appreciated!

 

Thanks,

 

Lu

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions