Formulas: Use of IF and JOIN

I am not the most savy when it comes to complex formulas. I am trying to figure out if I can combine an IF Text with a JOIN. I am trying to join only certain items when TEXT is found in the first cell for a naming convention sheet. Is this possible?

Tags:

Comments

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    This should be totally possible. 

    =IF(Find("Text to search for", [Insert Column Name]@row)>0, Join([First Column Name to Join]:[Last Column Name to Join], "-"),"")

    You'll have to replace the column names with your actual column names. But this will look for a specific string inside of whatever column you suggest and if it finds your string it will then join whichever range of columns you want to be joined and separate them with a dash. (Choose whatever separator you want by replacing "-" with your new separator ";" or ",")

     

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!