Home

Very simple Division question

%3CLINGO-SUB%20id%3D%22lingo-sub-777010%22%20slang%3D%22en-US%22%3EVery%20simple%20Division%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777010%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%202%20columns%20with%20data%2C%20A%20longer%2C%20B%20shorter.%20I%20want%20to%20compare%20if%20in%20column%20A%20there%20is%20any%20vaule%20from%20column%20B%20%3F%20A%20is%20from%20A2%20to%20A530%20and%20B2%20to%20B270.%20I%20don%60t%20want%20to%20compare%20it%20manually.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-777010%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-777045%22%20slang%3D%22en-US%22%3ERe%3A%20Very%20simple%20Division%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383564%22%20target%3D%22_blank%22%3E%40Progression%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eplease%20paste%20this%20formula%20in%20C2.%20And%20drag%20it%20till%20C530.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(IFERROR(MATCH(A2%2CB%3AB%2C0)%2C0)%26gt%3B1%2C%22Found%22%2C%22Not%20Found%22%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777065%22%20slang%3D%22en-US%22%3ERe%3A%20Very%20simple%20Division%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777065%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383564%22%20target%3D%22_blank%22%3E%40Progression%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20shorter%20formula%20alternative%20in%20C2%2C%20copied%20down%20rows%2C%20is%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3DIF(COUNTIF(B%3AB%2CA2)%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%22Found%22%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%22Not%20Found%22)%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-778494%22%20slang%3D%22en-US%22%3ERe%3A%20Very%20simple%20Division%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778494%22%20slang%3D%22en-US%22%3EThank%20you!%3C%2FLINGO-BODY%3E
Progression
New Contributor

Dear community,

 

I have 2 columns with data, A longer, B shorter. I want to compare if in column A there is any vaule from column B ? A is from A2 to A530 and B2 to B270. I don`t want to compare it manually.

 

Regards

3 Replies

@Progression 

please paste this formula in C2. And drag it till C530.  

=IF(IFERROR(MATCH(A2,B:B,0),0)>1,"Found","Not Found" )

 

@Progression 

A shorter formula alternative in C2, copied down rows, is; 

=IF(COUNTIF(B:B,A2),

"Found",

"Not Found")

Thank you!
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies