Reference Sheet Issue with formula - UNPARSEABLE

=COUNTIFS({ANOTHER SHEET Range 2} = "2022", {ANOTHER SHEET Range 3} = "1" ANOTHER SHEET Range 1}, "One person")

Best Answers

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    edited 04/25/22 Answer ✓

    Hey @Usman Zia

    A few tweaks to your syntax should resolve your Unparseable.

    Numbers should not have quotes around them - almost always. Remove those.

    You're missing commas between the ranges and criteria

    =COUNTIFS({ANOTHER SHEET Range 2} , 2022, {ANOTHER SHEET Range 3},1, {ANOTHER SHEET Range 1}, "One person")

  • Jeff Reisman
    Jeff Reisman ✭✭✭✭✭✭
    Answer ✓

    @Usman Zia are your numeric values in the remote sheet stored as numbers or as text? That makes a difference in how you list them as criteria in COUNTIFS. If they are numeric values, don't put them in quotes. You also need to list your ranges and criteria in comma separated sets.

    Numeric values: use operators, but you still need commas in between the range and criteria.

    =COUNTIFS({ANOTHER SHEET Range 2}, = 2022, {ANOTHER SHEET Range 3}, =1, {ANOTHER SHEET Range 1}, "One person")

    Text values - don't use an equal sign.

    =COUNTIFS({ANOTHER SHEET Range 2}, "2022", {ANOTHER SHEET Range 3}, "1", {ANOTHER SHEET Range 1}, "One person")

    Regards,

    Jeff Reisman

    Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages

    If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

Answers

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    edited 04/25/22 Answer ✓

    Hey @Usman Zia

    A few tweaks to your syntax should resolve your Unparseable.

    Numbers should not have quotes around them - almost always. Remove those.

    You're missing commas between the ranges and criteria

    =COUNTIFS({ANOTHER SHEET Range 2} , 2022, {ANOTHER SHEET Range 3},1, {ANOTHER SHEET Range 1}, "One person")

  • Jeff Reisman
    Jeff Reisman ✭✭✭✭✭✭
    Answer ✓

    @Usman Zia are your numeric values in the remote sheet stored as numbers or as text? That makes a difference in how you list them as criteria in COUNTIFS. If they are numeric values, don't put them in quotes. You also need to list your ranges and criteria in comma separated sets.

    Numeric values: use operators, but you still need commas in between the range and criteria.

    =COUNTIFS({ANOTHER SHEET Range 2}, = 2022, {ANOTHER SHEET Range 3}, =1, {ANOTHER SHEET Range 1}, "One person")

    Text values - don't use an equal sign.

    =COUNTIFS({ANOTHER SHEET Range 2}, "2022", {ANOTHER SHEET Range 3}, "1", {ANOTHER SHEET Range 1}, "One person")

    Regards,

    Jeff Reisman

    Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages

    If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

  • Thank you Everyone. With a little tweak with the commas and equals sign, it worked. I appreciate all the help.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!