Multiple conditions with enumlist

I need to filter with these 2 conditions :
AND( [in_use] = TRUE , [storage_area] = โ€œBarโ€ )

From what i understand, it doesnt work because [storage_area] is a enumlist type variable.
I have spent half my afternoon on this โ€ฆ can somebody help please?
Thanks !

0 3 211
3 REPLIES 3

Steve
Platinum 4
Platinum 4

Try:

AND( [in_use] = TRUE , IN( โ€œBarโ€, [storage_area] ) )

See also:

Thank you Sir, it works.
Meanwhile, i managed to work it out this way :

AND( [in_use] = TRUE , CONTAINS([storage_area] , โ€œBarโ€) )

Top Labels in this Space