Hello can you help me with this expression? AND (CONTAINS (IFS ([UserSelect] = โRamp 1โ, LEFT ([RAMPA], FIND ("/", [RAMPA]) - 1), [UserSelect] = โRamp 2โ, RIGHT ([RAMPA], FIND ("/", [RAMPA]) + 1), [UserSelect] = โBothโ, [Ramp]) , LOOKUP (USEREMAIL (), RAMPE, EMAIL, USERS)), ISnotBLANK ([flight]))
I would like to add a third name Ramp 3
for now it only works with 2 names thanks!!
Hi @francesco_cannone, I believe,
the expression will be something like below. May need minor adjustments.
Please note "Both"is replaced by โAllโ.
Not sure what is [Ramp] column as your older post thread is unavailable, when you had posted this same query for two names in [Rampa] column. Please take care of that aspect.
AND (CONTAINS (IFS ([UserSelect] = โRamp 1โ, INDEX(SPLIT([Rampa],โ/โ),1) , [UserSelect] = โRamp 2โ, INDEX(SPLIT([Rampa],โ/โ),2) , [UserSelect] = โRamp 3โ, INDEX(SPLIT([Rampa],โ/โ),3) , [UserSelect] = โAllโ, [Ramp]) , LOOKUP (USEREMAIL (), RAMPE, EMAIL, USERS)), ISnotBLANK ([flight]))
Hope this helps.
it works great !! thanks as always
User | Count |
---|---|
18 | |
9 | |
8 | |
6 | |
5 |