Help Using Excel Function

%3CLINGO-SUB%20id%3D%22lingo-sub-1779225%22%20slang%3D%22en-US%22%3EHelp%20Using%20Excel%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1779225%22%20slang%3D%22en-US%22%3EI%20posted%20an%20earlier%20question%20looking%20for%20a%20formula%20to%20use%20to%20find%20which%20names%20that%20are%20in%20column%202%20but%20not%20column%201.%20The%20problem%20I%20ran%20into%20is%20that%20column%201%20and%20column%202%20are%20filtered%20columns.%20I%20have%20applied%20a%20filter%20so%20what%20is%20showing%20is%20let%E2%80%99s%20say%2030%20names%20but%20the%20original%20spreadsheet%20has%20100%20names.%20When%20using%20the%20functions%20suggested%20they%20continued%20to%20use%20the%20entire%20unfiltered%20spreadsheet%20instead%20of%20what%20I%20was%20seeing%20on%20my%20filtered%20view.%20What%20can%20I%20do%20thanks%20in%20advance!!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1779637%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20Using%20Excel%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1779637%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F818035%22%20target%3D%22_blank%22%3E%40John_Murphy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%3Bs%20say%20that%20the%20first%20list%20is%20on%20Sheet1%20in%20A2%3AA100%2C%20and%20the%20second%20list%20on%20Sheet2%20in%20A2%3AA50.%3C%2FP%3E%0A%3CP%3EEnter%20the%20following%20%3CSTRONG%3Earray%20formula%3C%2FSTRONG%3E%20in%20B2%20on%20Sheet2%2C%20confirmed%20with%20%3CSTRONG%3ECtrl%2BShift%2BEnter%3C%2FSTRONG%3E%20(you%20may%20not%20need%20this%20in%20Excel%20365)%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DISERROR(MATCH(1%2CIF(SUBTOTAL(3%2COFFSET(Sheet1!%24A%242%3A%24A%24100%2CROW(Sheet1!%24A%242%3A%24A%24100)-ROW(Sheet1!%24A%242)%2C0%2C1))%26gt%3B0%2CIF(Sheet1!%24A%242%3A%24A%24100%3DA2%2C1))%2C0))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFill%20down%20to%20B50.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
I posted an earlier question looking for a formula to use to find which names that are in column 2 but not column 1. The problem I ran into is that column 1 and column 2 are filtered columns. I have applied a filter so what is showing is let’s say 30 names but the original spreadsheet has 100 names. When using the functions suggested they continued to use the entire unfiltered spreadsheet instead of what I was seeing on my filtered view. What can I do thanks in advance!!!
1 Reply
Highlighted

@John_Murphy 

Let;s say that the first list is on Sheet1 in A2:A100, and the second list on Sheet2 in A2:A50.

Enter the following array formula in B2 on Sheet2, confirmed with Ctrl+Shift+Enter (you may not need this in Excel 365):

 

=ISERROR(MATCH(1,IF(SUBTOTAL(3,OFFSET(Sheet1!$A$2:$A$100,ROW(Sheet1!$A$2:$A$100)-ROW(Sheet1!$A$2),0,1))>0,IF(Sheet1!$A$2:$A$100=A2,1)),0))

 

Fill down to B50.