Return all Values

Pestomania
Pestomania ✭✭✭✭✭
edited 02/25/25 in Formulas and Functions

Hi,

I used a similar formula to return values based on a "filter" and I want to return all distinct values where "Risk Resilience Level" equals "Elevated Risk" or "High Risk".

=INDEX(DISTINCT(COLLECT({Supplier Name}, {Risk Level}, "Elevated Risk")), [Row ID]@row)

This now returns a "#Invalid Data Type".

{Supplier Name} is a text field

{Risk Level} is a text field (some are blank).

What can I do to fix this?

Best Answer

  • Pestomania
    Pestomania ✭✭✭✭✭
    Answer ✓

    I am not sure why, but all of a sudden I opened it and it was returning valid responses.

    Here is what I currently have that started working all of a sudden:

    =INDEX(DISTINCT(COLLECT({Supplier Name}, {Risk Level}, "Elevated Risk")), [Row ID]@row)

    I don't know if I changed something accidentally or what, but it's functioning now.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!