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
-
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 :)
-
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
-
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
-
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 :)
-
Hi @Gillian C . I tried that (Added "Never Do Task" part since that's the full prompt) but got #UNPARSEABLE
-
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
-
@Gillian C Wow, that worked! Thank you soooo much! 😊
-
Hi @alaub29
No problem, glad it helped 😊
-
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", "")
-
Hi @alaub29
Did you see the comment above from @Paul Newcome . Really helpful if you are using multi-select dropdown. Thanks Paul, learn something new every day :)
-
Thank you to you both! This really saved me a major headache! @Gillian C @Paul Newcome
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!