Forum Discussion

pcarle1's avatar
pcarle1
Copper Contributor
Jun 19, 2023

Alternative to Countif due to closed workbooks

Hello all, I am looking to see what alternative I can use to countif for the formula below. Essentially what I am doing is checking another workbook to see if an employee id # exists there and if it...
  • Lorenzo's avatar
    Jun 20, 2023

    Hi pcarle1 

     

    An alternative could be MATCH:

    =IF(ISNUMBER(MATCH([@EmployeeID], 'filelocation/[MVR Monitoring Batch File (MASTER).xlsx]Sheet1'!$A:$A, 0)), "y", "")

     

    Not quite sure I understand what the first portion of your complete formula is supposed to do:

    =IF(OR(ISBLANK($L16)),"",...

    as the following should be enough:

    =IF(ISBLANK($L16),"",...

     

Resources