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.

Join Columns while skipping a column

I'm using the join and collect functions to create a model number for a product, where it joins the base model number, color, customer and country using the following formula

=JOIN(COLLECT([Base Model Number]@row:Country@row, [Base Model Number]@row:Country@row, NOT(ISBLANK(@cell))), "-")

Screenshot_9.png

It works great when I have the sheet set up this way, however I would love to be able to have the color description right next to the color code, however, when I do that, I end up with a model number that looks like this:

Screenshot_10.png

Is there a way I can skip the color description column in the join function? Alternatively, I could move the color column after the customer and country, but would then need to have the color code be the first code joined , and then have the customer and country code added after the color code.

Thanks in advance!

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