If and vloockup

%3CLINGO-SUB%20id%3D%22lingo-sub-2066639%22%20slang%3D%22en-US%22%3EIf%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066639%22%20slang%3D%22en-US%22%3EI%20have%20sheet%20with%20locations%20as%20(Z1-A-1-AA01)%20and%20i%20take%20all%20locations%20that%20i%20use%20and%20i%20need%20to%20do%20if%20the%20locations%20use%20must%20the%20other%20location%20as%20(Z1-A-1-AA0102%20%26amp%3B%20Z1-A-1-AA)%20be%20blank.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2066639%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066682%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066682%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F931327%22%20target%3D%22_blank%22%3E%40Mrhussam%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%20you%20may%20provide%20sample%20file%20to%20illustrate%20the%20question%2C%20it's%20unclear%20what%20do%20you%20mean.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066743%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066743%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20attached%20to%20you%20the%20file%20i%20will%20work%20on%20it%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ELocation%20on%20Label%3A%3C%2FSTRONG%3E%20in%20our%20system.%3C%2FP%3E%3CP%3E%3CSTRONG%3EAvailable%3A%20%3C%2FSTRONG%3EFYI%3C%2FP%3E%3CP%3E%3CSTRONG%3EUsed%3A%3C%2FSTRONG%3E%20the%20actual%20in%20our%20WH%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066764%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066764%22%20slang%3D%22en-US%22%3EI%20need%20to%20know%20the%20locations%20not%20bean%20use%20in%20(used)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066783%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066783%22%20slang%3D%22en-US%22%3ENot%20been%20used*%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066804%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vloockup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066804%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F931327%22%20target%3D%22_blank%22%3E%40Mrhussam%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20could%20be%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSORT(FILTER(A2%3AA8000%2C(COUNTIF(D2%3AD8000%2CA2%3AA8000)%3D0)*(A2%3AA8000%26lt%3B%26gt%3B%22%22)))%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
New Contributor
I have sheet with locations as (Z1-A-1-AA01) and i take all locations that i use and i need to do if the locations use must the other location as (Z1-A-1-AA0102 & Z1-A-1-AA) be blank.
6 Replies

@Mrhussam 

Perhaps you may provide sample file to illustrate the question, it's unclear what do you mean.

i attached to you the file i will work on it,

 

Location on Label: in our system.

Available: FYI

Used: the actual in our WH 

 

@Sergei Baklan 

@Mrhussam 

Thank you. So, what is the task - from "Location on Label" column generate list of values which are not in "Used" column?

image.png

 

 

I need to know the locations not bean use in (used)
Not been used*

@Mrhussam 

That could be

=SORT(FILTER(A2:A8000,(COUNTIF(D2:D8000,A2:A8000)=0)*(A2:A8000<>"")))