There is a sheet called "Bookings".
Column H reflects their role
- SALES
- RECEPTIONIST
- SALES AND RECEPTIONIST
In the current sheet:
- Column J, it is a Qualification role e.g. "SALES" or "RECEPTIONIST".
How can I amend the following code on index match to pull over only staff from "Bookings" who partial match Column J?
If someone's role is "SALES", I can get it to pull over "SALES". If someone's role is "RECEPTIONIST", I can get it to pull over "RECEPTIONIST". However, if it is "SALES AND RECEPTIONIST" as the role, it fails to pull over whether it is "SALES" or "RECEPTIONIST".
Please advise how I should amend the Formula below.
=IFERROR(INDEX(Bookings!$B:$B,
MIN(
IFERROR(MATCH(1,($N3=Bookings!$C:$C)*($J3=Bookings!$H:$H),0),1E+99),
IFERROR(MATCH(1,($N3=Bookings!$D:$D)*($J3=Bookings!$H:$H),0),1E+99),
IFERROR(MATCH(1,($N3=Bookings!$E:$E)*($J3=Bookings!$H:$H),0),1E+99),
IFERROR(MATCH(1,($N3=Bookings!$F:$F)*($J3=Bookings!$H:$H),0),1E+99),
IFERROR(MATCH(1,($N3=Bookings!$G:$G)*($J3=Bookings!$H:$H),0),1E+99)
)))
