Hi,
I am using the following formula to index which clinician has completed a particular type of service. The formula seems to be pulling the correct clinician when the criteria are met but continues to pull a clinician even when criteria are not met (ie for other service types):
=IF(HAS(Service Type-Source Sheet}, A$1:A$3), INDEX({Clinician}, [Row ID]@row))
I want the formula to ignore indexing cells where the criteria have not been met in the same row, but that doesn't seem to be happening at the moment and I'm not sure why.
I've attached images and removed sensitive information