Return all unique values by Location

Pestomania
Pestomania ✭✭✭✭✭
edited 07/11/24 in Smartsheet Basics

I am hoping that this is possible:

I would like to look at Sheet "BIA All Data" and return all "Process Names" that match the "Site Name".

For Test Site, there are Process 1 & Process 2 in the BIA Process Name field.

=INDEX(COLLECT({BIA Process Name}, {BIA Site Name}, [Site Name]@row), 1)

I would prefer that I could insert "Site Name" in the first row and have a formula that returns ALL Process Names that match that Site.

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    In that case you would need a text/number column (called "Number" in this example) manually populated wiht the numbers one through however many you think the maximum will be (plus a few extra just in case).

    Then you would use this:

    =IFERROR(INDEX(DISTINCT(COLLECT({BIA Process Name}, {BIA Process Name}, @cell <> "", {BIA Site Name}, @cell = [Site Name]@row)), Number@row), "")

Answers