Determining Exact Match for Multiple Criteria in a Multiple Selection Dropdown

Thomas Conaboy
edited 09/01/20 in Formulas and Functions

I am trying to grade a quiz where the answers were submitted via a smartsheet form. I am having trouble figuring out how to confirm that there is an exact match on questions that had multiple answers needing to be selected to be considered correct.


On questions that only use one answer, this is the formula I use:


=IF(HAS([Question 1]1, "The Correct Answer"), 1, 0)


Is it possible to modify this formula to get confirmation that multiple correct dropdown options were selected?

Best Answer

  • SoS | Dan Palenchar
    SoS | Dan Palenchar ✭✭✭✭✭✭
    Answer ✓

    Yes, you could build the exact criteria you need in the formula. It looks like each column is a question and I assume the rows are students. You could put the correct answer in the first row and simply use

    =IF([Question #]@row=[Question #]$1, 1, 0)

    This would check to see if the response is an exact match of the answer you indicate in the first row.

    School of Sheets (Smartsheet Partner)

    If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!

Answers

  • SoS | Dan Palenchar
    SoS | Dan Palenchar ✭✭✭✭✭✭
    Answer ✓

    Yes, you could build the exact criteria you need in the formula. It looks like each column is a question and I assume the rows are students. You could put the correct answer in the first row and simply use

    =IF([Question #]@row=[Question #]$1, 1, 0)

    This would check to see if the response is an exact match of the answer you indicate in the first row.

    School of Sheets (Smartsheet Partner)

    If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!

  • Thank you, that worked!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!