Combining Data from a Group of Cells based on Another Cell's Data

Hello Smartsheet Community!

We have a situation where we have a column A for Shipping Options (Store or Other).

We have column B that is combining other shipping details from columns C-H .

If column A is listed as Store, we do not want column B to combine the data from columns C-H, it should remain blank

If column A is listed as Other, we want column B to combine the data from columns C-H.

This is what we are using to combine the data from columns C-H, but we are unsure of how to add in the if statements to reflect the data in column A. =JOIN([Column C]@row:[Column H]@row, " ")

As always, thank you in advance for your assistance! 😊

Best Answer

  • KPH
    KPH ✭✭✭✭✭✭
    edited 02/09/24 Answer ✓

    Hi @Nancy Heater

    You can create an IF function with logic to check the contents of column A and return your formula if A is other and return nothing if anything else. Does that sound like it would work?

    =IF([Column A]@row = "Other", JOIN([Column C]@row:[Column H]@row, " "))



Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!