Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a variable Doctor1 that contains the following text : DR. X,DR. Y. I am trying to compare the variable to a table field using the below but it isn't working:
=if(mixmatch(ATTENDING_NAME , (Doctor1)),2)
Can anybody assist please?
Mixmatch() is exact match(case insensitive) function. For your case, you have to use wildmatch() or substringcount() or index(). Try like:
if(Index('$(Doctor1)' ,ATTENDING_NAME ),2)
Note: to take care of case insensitivity, use for both strings upper()/lower().
Use this syntax:
=if(mixmatch(ATTENDING_NAME , $(Doctor1)),2)
Let me know
No result
the variable should be
'DR. X','DR. Y.'
The variable can hold different doctor names depending on the user selection.
I guess you need:
=if(mixmatch('$(Doctor1)' ,ATTENDING_NAME ),2)
Hi,
Try like this, you need to give single quotes for variable, since it is a string.
=if(mixmatch(ATTENDING_NAME , '$(Doctor1)'),2)
Regards,
Jagan.
I entered the following expression but still getting no values:
if(mixmatch('$(Doctor1)' ,ATTENDING_NAME ),2)
Hi Nassar,
Try like this
=if(Index(Upper(ATTENDING_NAME ) , Upper(Doctor1)),2)
Regards,
Jagan.
Mixmatch() is exact match(case insensitive) function. For your case, you have to use wildmatch() or substringcount() or index(). Try like:
if(Index('$(Doctor1)' ,ATTENDING_NAME ),2)
Note: to take care of case insensitivity, use for both strings upper()/lower().