How do I summarize text data from multiple cells into one cell only if criteria is met in each cell?

I am sending a form out to associates in which I ask them to rate their familiarity with multiple subjects. The 3 available choices for them to choose from are: Very Familiar, Somewhat Familiar and Not Familiar. I would like to summarize their responses from multiples cells (Sales Orders, Invoicing, Stock Status, Purchase Orders) in 1 summary cell (PU Summary) only if they choose "Not Familiar" as the response by listing the subject in the summary cell.

In my example, if they choose Very Familiar or Somewhat Familiar, nothing will go in to the PU Summary cell.

Best Answers

  • Gillian C
    Gillian C Overachievers
    Answer ✓

    Hi @alaub29

    You could try the following:

    =IF([Sales Orders]@row = "Not Familiar", "SOs", "") + " " + IF([Invoicing]@row = "Not Familiar", "Inv", "") + " " IF([Stock Status]@row = "Not Familiar", "SS", "") + " " IF([Purchase Orders]@row = "Not Familiar", "POs", "")

    I have used Inv as the short code for Invoicing and SS as the short code for Stock Status.

    Hope this helps :)

  • Gillian C
    Gillian C Overachievers
    edited 09/11/24 Answer ✓

    Hi @alaub29

    You've missed a + on the second line of the screengrab you added. After the IF for Invoicing you need + " " + IF([Stock Status…

    and then again before the IF([Purchase Orders]@row…

    and it should work now.

    #UNPARSEABLE normally means there is something wrong with the syntax of the formula, such as missing items or too many parenthesis

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    If you are using a multi-select dropdown column as in your screenshot, you will need to use line breaks in between instead of spaces to ensure each one is a separate "selection". This will ensure consistency for future reporting.

    =IF([Sales Orders]@row = "Not Familiar", "SOs" + CHAR(10), "") + IF([Invoicing]@row = "Not Familiar", "Inv" + CHAR(10), "") + IF([Stock Status]@row = "Not Familiar", "SS" + CHAR(10), "") + IF([Purchase Orders]@row = "Not Familiar", "POs", "")

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!