Forum Discussion

clh_1496's avatar
clh_1496
Brass Contributor
Nov 01, 2022
Solved

return all values which have an error in the same column without gaps

Hi all,   Basically I have a spreadsheet with all employees hours listed, and another spreadsheet with a list of names, and a vlookup uses the pay number to look into the employee names spreadsheet...
  • HansVogelaar's avatar
    Nov 01, 2022

    clh_1496 

    Do you have Microsoft 365 or Office 2021? If so, enter the following formula in the first cell where you want a "missing" pay number:

    =FILTER(P:P,ISNA(Q:Q),"")

    It will spill automatically to the cells below.

     

    Otherwise, the formula that you found could be changed to

    =IFERROR(INDEX($P$1:$P$1000,AGGREGATE(15,6,ROW($1:$1000)/(ISERROR($Q$1:$Q$1000)),ROW(1:1))),"")

    It may have to be confirmed by pressing Ctrl+Shift+Enter. The formula can be filled down.

Resources