If false do nothing

Sarit
New Member

Iโ€™m trying to filter my suggested values to only show those handlers with Admin privileges. I have a separate sheet for users and their rank from before. I tried to merge the users and staff pages but everything broke.

if(AND([Handler Full Name]=โ€œUsers[Full Name]โ€, โ€œUsers[Admin Level]โ€=โ€œAdminโ€), [Handler Full name], โ€œโ€)
The expression is valid but its result type โ€˜Nameโ€™ is not one of the expected types: List

This is what it shows me now.
It was also telling me that the types of both results have to match? But I donโ€™t want it to pull through any other values.

0 2 670
2 REPLIES 2

First

Users[Admin Level]=โ€œAdminโ€

would pull EVERY records value from the table (instead of a single users), instead try this:

Next, youโ€™ll want to check out the SELECT() formula - itโ€™s what will allow you to build a list

Steve
Platinum 4
Platinum 4

โ€œUsers[Full Name]โ€โ€“with quotes around it as you have itโ€“is the literal text, Users[Full Name]. It is NOT the value of the Full Name column as I expect you intend.

Further, Users[Full Name] is a table-column reference, which produces a list of values. Comparing a singular value ([Handler Full Name]) against a list of values does NOT search for the singular value in the list, as you may intend.

See also:

Top Labels in this Space