LOOKUP or SELECT with multiple criteria

Hello everyone,

I'm trying to match an Id and a password by using a formula that check if it's the really password or not depending on the mail (USERMAIL()) and the id. 

So we have two tables, one is for data register information "LOGIN" and the second is for the input on AppSheet"LOG".

First of all, I tried to use LOOKUP like this : 

IF(AND(LOOKUP([Identifiant_log], LOGIN, Identifiant_login, Mot de passe_login)=[Mot de passe_log],NOT(ISBLANK(Mot de passe_log))),TRUE, FALSE).

But one criteria is missing the match between email connexion column and USERMAIL())...

After that I used SELECT :

ANY(SELECT(LOGIN[Mot de passe_login],

AND(([email connexion] = USEREMAIL()),

([Identifiant_login] = LOG[Identifiant_log]),FALSE)))

But it did not work...

Thanks a lot in advance for your response !!!

Capture dโ€™eฬcran 2022-06-15 aฬ€ 11.01.24.pngCapture dโ€™eฬcran 2022-06-15 aฬ€ 11.01.35.png

 

0 2 128
2 REPLIES 2

Steve
Platinum 4
Platinum 4

Hello steve,

Thanks for helping but I already used those function but I didn't find the solutions ...

Can you help me ?

 

Top Labels in this Space