Matching depending of 2 column

Hello,
I need help to find the expression for find the value in a list macthing with 2 others column;
I want the โ€œref numberโ€ depending of the column โ€œinstallationโ€ and โ€œfrequencyโ€

0 1 186
1 REPLY 1

Welcome to AppSheet!!!

We might need more information to fully understand your intentions.


If your expression is operating on the SAME row, you can write and expression like:

AND([Installation] = "Install Value", [Frequency] = "Some Frequency")

If you are wanting to select a different row, whether it be in the same table or some other table, you might need an expression like this:

SELECT(Table Name[Ref Number], AND([Installation] = "Install Value", 
                                   [Frequency] = "Some Frequency")
)

This returns a LIST with ALL the "Ref Number"s that are in rows with the values โ€œInstall Valueโ€ and โ€œSome Frequencyโ€


If you are wanting to return โ€œRef Numberโ€ as just a single value then you can wrap the SELECT() with an ANY() functionโ€ฆBUT if the SELECT() returns multiple rows, ANY() will only give you the value of the FIRST row.

ANY(
    SELECT(Table Name[Ref Number], AND([Installation] = "Install Value",
                                       [Frequency] = "Some Frequency")
    )
)
Top Labels in this Space