Find duplicate between two ranges and report true or false.

Doggson2008

New Member
Joined
Jun 29, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello!
I'm very fresh to this and trying to learn but i'm having real issues trying to get this to work.
I've tried multiple "countifs" and "if(sum"s and i'm getting nowhere.
I'm looking to see if ANY text in F range is the same as ANY in the H range, If so return true, otherwise false.
Nevermind the L and N range, Just to show what i'm after.

I would not mind just getting pushed on the right track, I enjoy learning but this is way above my brain right now .-(

Thanks! Dogg
 

Attachments

  • exam.png
    exam.png
    11.2 KB · Views: 10

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi & welcome to MrExcel.
How about
Excel Formula:
=SUM(COUNTIFS(F1:F8,H1:H8))>0
 
Upvote 0
Can you post some sample data, including the formula.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Can you post some sample data, including the formula.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Sure i will do that as soon as i can, Thanks.
 
Upvote 0
Hello! Finally back at work.
This is "roughly" what the sheet looks like, But it's huge and contains over 50 teams and 1500 unique names. It's too big to do this manually because it takes me days to sort.
What i want is the indicator boxes to fill with an "O" if it is false, An "X" if it is true. To get an overview of what Mix groups contains the different "colored teams", I hope this makes sense.

test.xlsx
ABCDEFGHIJKLMNO
1
2
3
4Team RedTeam BlueTeam GreenTeam PurpleMix&Match AMix&Match BMix&Match CMix&Match D
5ThorAtlasReyalBarneyThorFreya
6FreyaNovaTommenUglükAtlasLewi
7SigridSigneThorendLokeUglükKole
8ApolloLewiMaximoSigmundEdenThorend
9OdhenEdenStigVanheliApolloVanheli
10
11=IFERROR(VLOOKUP($A$5:$A$9;$F$5:$F$9;1;0);"O")Red?##Red?##Red?##Red?##
12Blue?##Blue?##Blue?##Blue?##
13Green?##Green?##Green?##Green?##
14Purple?OPurple?OPurple?OPurple?O
15UglükOOO
16OOOO
17OOOO
18OVanheliOO
Blad1
Cell Formulas
RangeFormula
G11G11=IFERROR(VLOOKUP($A$5:$A$9,$F$5:$F$9,1,0),"O")
G12G12=IFERROR(VLOOKUP($B$5:$B$9,$F$5:$F$9,1,0),"O")
G13G13=IFERROR(VLOOKUP($C$5:$C$9,$F$5:$F$9,1,0),"O")
G14:G18G14=IFERROR(VLOOKUP($D$5:$D$9,$F$5:$F$9,1,0),"O")
I11I11=IFERROR(VLOOKUP($A$5:$A$9,$H$5:$H$9,1,0),"O")
I12I12=IFERROR(VLOOKUP($B$5:$B$9,$H$5:$H$9,1,0),"O")
I13I13=IFERROR(VLOOKUP($C$5:$C$9,$H$5:$H$9,1,0),"O")
I14:I18I14=IFERROR(VLOOKUP($D$5:$D$9,$H$5:$H$9,1,0),"O")
K11K11=IFERROR(VLOOKUP($A$5:$A$9,$J$5:$J$9,1,0),"O")
K12K12=IFERROR(VLOOKUP($B$5:$B$9,$J$5:$J$9,1,0),"O")
K13K13=IFERROR(VLOOKUP($C$5:$C$9,$J$5:$J$9,1,0),"O")
K14:K18K14=IFERROR(VLOOKUP($D$5:$D$9,$J$5:$J$9,1,0),"O")
M11M11=IFERROR(VLOOKUP($A$5:$A$9,$L$5:$L$9,1,0),"O")
M12M12=IFERROR(VLOOKUP($B$5:$B$9,$L$5:$L$9,1,0),"O")
M13M13=IFERROR(VLOOKUP($C$5:$C$9,$L$5:$L$9,1,0),"O")
M14:M18M14=IFERROR(VLOOKUP($D$5:$D$9,$L$5:$L$9,1,0),"O")
Dynamic array formulas.
 
Upvote 0
test.xlsx
ABCD
3
4Compare 1Compare 2
5ThorFreya
6FreyaAtlas
7SigridUglük
8ApolloEden
9OdhenApollo
10
11=OM(LETAUPP(A5:A9;$B$5:$B$9;1)=0;"O";"X")
12#SAKNAS!
13X
14#SAKNAS!
15#SAKNAS!
16#SAKNAS!
Blad1
Cell Formulas
RangeFormula
A12:A16A12=IF(LOOKUP(A5:A9,$B$5:$B$9,1)=0,"O","X")
Dynamic array formulas.


I don't understand whats wrong with this either :-( Is it really that complicated or am I just very very stupid?
 
Upvote 0
Did you try what I suggested as it works for me
+Fluff 1.xlsm
ABCDEFGHIJKLM
1
2
3
4Team RedTeam BlueTeam GreenTeam PurpleMix&Match AMix&Match BMix&Match CMix&Match D
5ThorAtlasReyalBarneyThorFreya
6FreyaNovaTommenUglükAtlasLewi
7SigridSigneThorendLokeUglükKole
8ApolloLewiMaximoSigmundEdenThorend
9OdhenEdenStigVanheliApolloVanheli
10
11Red?TRUERed?Red?Red?
12Blue?TRUEBlue?Blue?Blue?
13Green?FALSEGreen?Green?Green?
14Purple?TRUEPurple?Purple?Purple?
Master
Cell Formulas
RangeFormula
G11G11=SUM(COUNTIFS($A$5:$A$9,$F$5:$F$9))>0
G12G12=SUM(COUNTIFS($B$5:$B$9,$F$5:$F$9))>0
G13G13=SUM(COUNTIFS($C$5:$C$9,$F$5:$F$9))>0
G14G14=SUM(COUNTIFS($D$5:$D$9,$F$5:$F$9))>0
 
Upvote 0
Solution
Yes i did, But now i'm baffled. What am i doing wrong here?
Looking at your example i get very frustrated - Yours is working, Mine is not.
When i copy and paste your exact formula i get this error message.
 

Attachments

  • error.png
    error.png
    6.9 KB · Views: 8
Upvote 0
You need to change the commas to semi-colons.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top