Subject: Adding weighting/points to answers within a multi select dropdown?
Best Answers
-
Hello @Michael Stuart , This is a not fun answer.
You will need helper columns for all of your dropdowns. Basically for your 2. question, have columns 2 plane, 2 ec, 2 train, and each of those you can do an =IF(Contains([2 question]@row, "type"), # value). Then you can sum it. I would recommend that you rename your question column to say Q1, Q2, etc... and in the form it expands on the question. It would make writing these a lot easier.
-
Hi @Eric Law , thank you for coming back to me... I thought this might be the case, of creating multiple columns, but was wondering if there was a smarter way. Thank you again and for the tip in terms of question headers that makes total sense in streamlining the formulas!! 😁
Answers
-
Hello @Michael Stuart , This is a not fun answer.
You will need helper columns for all of your dropdowns. Basically for your 2. question, have columns 2 plane, 2 ec, 2 train, and each of those you can do an =IF(Contains([2 question]@row, "type"), # value). Then you can sum it. I would recommend that you rename your question column to say Q1, Q2, etc... and in the form it expands on the question. It would make writing these a lot easier.
-
Hi @Eric Law , thank you for coming back to me... I thought this might be the case, of creating multiple columns, but was wondering if there was a smarter way. Thank you again and for the tip in terms of question headers that makes total sense in streamlining the formulas!! 😁
-
Hi @Eric Law thanks again for support me with this... I have managed to get the formula to work within the same sheet, however instead of having the scoring in the main sheet, I want to create a separate sheet for the scoring tally. I have attempted this but faced issues referencing another sheet.
I have tried to include the name column (primary) into the formula but it doesn't like it. any further support would be welcomed.
Is "=IF(Contains" still the right formula to use when referencing another sheet?
-
Hi @any Community, just wondering if anyone can support with answering the second part to the above, where I am looking to creating a new metrics sheet to reference the original sheet? If anyone needs any further detail please don't hesitate to content me
-
You could just do this in one column in your main source sheet, like so in the Score column:
=IF(HAS("Plane (-3 points)", [2. Select all relevant modes of transport?]@row, -3) + IF(HAS("Electric Car (3 points)", [2. Select all relevant modes of transport?]@row, 3) + IF(HAS("Train (3 points)", [2. Select all relevant modes of transport?]@row, 3)
This is using + to add together each individual score based on each selection. It would need to be done in the source sheet because you're creating calculations on an individual row-by-row basis, evaluating that specific cell.
If you don't want to show the score in this main sheet, you could hide the score column then use a Report to show the Name and the Score together, if that helps!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!