Svgmassive
asked on
an alternative
i am using the formula below to check if a name exits in two tables if ,the problem is that the function checks the columns four times two with the count if and the other to get the address on a large table this can affect performance.I need to only check the table once and return a blank if the name does not exist.
=IF(COUNTIF(EMP_NAMES,EMPL OY_EE),ADD RESS(MATCH (EMPLOY_EE ,EMP_NAMES ,0),1),IF( COUNTIF(SU PV_EMP_COL ,EMPLOY_EE ),ADDRESS( MATCH(EMPL OY_EE,SUPV _EMP_COL,0 ),COLUMN(S UPV_EMP_CO L)),""))
=IF(COUNTIF(EMP_NAMES,EMPL
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Then try using two dummy columns with the two address functions
=ADDRESS(MATCH(EMPLOY_EE,E MP_NAMES,0 ),1)
=ADDRESS(MATCH(EMPLOY_EE,S UPV_EMP_CO L,0),COLUM N(SUPV_EMP _COL))
and then something like
=if(iserror(col1),if(iserr or(col2)," ",col2),co l1)
You can hide the dummy columns.
=ADDRESS(MATCH(EMPLOY_EE,E
=ADDRESS(MATCH(EMPLOY_EE,S
and then something like
=if(iserror(col1),if(iserr
You can hide the dummy columns.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER