Hello can you help me with this expression? A...

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!!

0 2 333
2 REPLIES 2

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.

@Suvrutt_Gurjar

it works great !! thanks as always

Top Labels in this Space