How to match 2 criteria ?
Hi, im trying to get some help to have a formula to have a summary of a questionnaire, based on a scoring sheet. So the formula will need to match 2 criteria:
1st criteria is to match the question number
2nd criteria is to match the response to the options to yield a target.
i tried index/collect but i realise my 2nd criteria is from a table, hence its not working. Any suggestions ?
Best Answer
-
so something like this should work based on whether they choose low medium or high.
=if(response@row = "Low", index(low:low,match(questionnumber@row, [question number]:[question number], 0)),
if(response@row = "Medium", index(medium:medium ,match(questionnumber@row, [question number]:[question number], 0)),
if(response@row = "High", index(high:high ,match(questionnumber@row, [question number]:[question number], 0))
)))
Answers
-
@HuiXian So someone is responding low medium and high and you want to return the number associated?
-
Yap, thats right
-
so something like this should work based on whether they choose low medium or high.
=if(response@row = "Low", index(low:low,match(questionnumber@row, [question number]:[question number], 0)),
if(response@row = "Medium", index(medium:medium ,match(questionnumber@row, [question number]:[question number], 0)),
if(response@row = "High", index(high:high ,match(questionnumber@row, [question number]:[question number], 0))
)))
-
Thank you so much Samuel! it worked 😍!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!