Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

How do i utilize IF functions (or others) in order to create a simple username/password in google sheets?

$
0
0

On cell A3, there is a username input (i.e max or dave), on cell B3, there is a pin input (i.e 1234 if its max, or 8640 if its dave), how would you go about creating a formula in order to satisfy these requirements? That is, if you put 1234 in cell B3, but Dave in cell A3, it would show as "invalid", otherwise it would show as "Verified"?

So far, I have created an IF(AND ...) statement that just accomplishes one pair (i.e Dave with 8640 only), how can i add MULTIPLE people and pin numbers, with the results of "verified" or "invalid" to be output into one cell (C3)?

Thank you.


Viewing all articles
Browse latest Browse all 9786

Trending Articles