Using the IN() with LIST() and SELECT()

IN(
    [E-mail Address], 
    LIST(
            SELECT(Linked Emails[Linked Email], USEREMAIL() = [Login User Email])
           )
   )

It only returns results for the first row it finds in the select statement and ignores any additional rows from the select results. Any thoughts on how I could make it work?

Thanks

Solved Solved
0 4 1,237
1 ACCEPTED SOLUTION

I realized after a good night sleep that it actually doesnโ€™t return all email. It didnโ€™t include the USEREMAIL() so I added it as a row and that fixed it. Thanks!

View solution in original post

4 REPLIES 4

Does SELECT(Linked Emails[Linked Email],TRUE) return all the emails?

I realized after a good night sleep that it actually doesnโ€™t return all email. It didnโ€™t include the USEREMAIL() so I added it as a row and that fixed it. Thanks!

Aurelien
Google Developer Expert
Google Developer Expert

Hi @AdemarN

in this expression:

IN(
  [E-mail Address],
  LIST(
    SELECT(Linked Emails[Linked Email],
           USEREMAIL() = [Login User Email]
    )
  )
)

the LIST expression seems superfluous to me, as SELECT already renders a list.
You may want to prefer that instead ?

IN(
  [E-mail Address],
  SELECT(Linked Emails[Linked Email], 
         USEREMAIL() = [Login User Email]
  )  
)

Ok yeah I was trying all sorts of things and thought the LIST() would resolve it. But now I know that SELECT is already delivered as a LIST. Thanks!

Top Labels in this Space