Duplicates in Excel

CD1981

New Member
Joined
Oct 27, 2022
Messages
13
Office Version
  1. 365
Platform
  1. MacOS
  2. Web
Hello,

I have a file that has rows of data that are only defined by H or V in each cell, I need to see if there are any duplicates within a selected number of cells to another selected number of cells throughout the spreadsheet. So I need to see if cells B2:B14 if the data is H, H, V, V, V, H, H, V, H, V, V, H, H; if that same data is in that identical same order anywhere else on the sheet. What is the quickest way to go about this or is it even possible?
Thanks,

Cathy
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Sorry, to clarify, I see my platform says MacOS but it's not, I'm on a Chromebook and I use online Office 365.

And Here is an example:

12345678910111213141516171819202122232425
1VHVVVHVVVVHHVHVVVVVVHVHVV
2HHHHHVHHHHHVVHVVVVVVVVHVV
3HHHHHHHHHHHHHHHHHHHHHHHHH
4HVHVVHHVHHVHVHVVHVVHHVVHH
5VHHVVHVHVVVHVHHHHVVVHHVVH
6VHVHHHHHHHHHVHHVHVHHHHHVH
7VHVHHHHHVVHVVHHVVHVVVVVHH
8HVHVHVHVHVHVHVHVHVHVHVHVH
9VVHVVHHHHHVHHHVVHHVHVHVVV
10VHHHHHVHHVVHHVVHVHHVVVVHV
11HHHHHHHHHHHHHHHHHHHHHHHHH
12VVHHVHVHVHVHHHVHHVHHHVVHV
13HHVVHHVVHHVVHHVVHHVVHHVVH
 
Upvote 0
Hi & welcome to MrExcel.

Not entirely sure if this is what you want, but how about
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXY
1VHVVVHVVVVHHVHVVVVVVHVHVV
2HHHHHVHHHHHVVHVVVVVVVVHVV
3HHHHHHHHHHHHHHHHHHHHHHHHH
4HVHVVHHHHHVHVHVVHVVHHVVHH
5VHHVVHVvVVVHVHHHHVVVHHVVH
6VHVHHHHvHHHHVHHVHVHHHHHVH
7VHVHHHHvVVHVVHHVVHVVVVVHH
8HVHVHVHhHVHVHVHVHVHVHVHVH
9VVHVVHHvHHVHHHVVHHVHVHVVV
10VHHHHHVvHVVHHVVHVHHVVVVHV
11HHHHHHHhHHHHHHHHHHHHHHHHH
12VVHHVHVvVHVHHHVHHVHHHVVHV
13HHVVHHVhHHVVHHVVHHVVHHVVH
14
152111111211111111111111111
Data
Cell Formulas
RangeFormula
A15:Y15A15=SUM(--(MMULT(SEQUENCE(,ROWS($A$1:$A$13),,0),--(A1:A13=$A$1:$Y$13))=13))
 
Upvote 0
Solution
Hi & welcome to MrExcel.

Not entirely sure if this is what you want, but how about
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXY
1VHVVVHVVVVHHVHVVVVVVHVHVV
2HHHHHVHHHHHVVHVVVVVVVVHVV
3HHHHHHHHHHHHHHHHHHHHHHHHH
4HVHVVHHHHHVHVHVVHVVHHVVHH
5VHHVVHVvVVVHVHHHHVVVHHVVH
6VHVHHHHvHHHHVHHVHVHHHHHVH
7VHVHHHHvVVHVVHHVVHVVVVVHH
8HVHVHVHhHVHVHVHVHVHVHVHVH
9VVHVVHHvHHVHHHVVHHVHVHVVV
10VHHHHHVvHVVHHVVHVHHVVVVHV
11HHHHHHHhHHHHHHHHHHHHHHHHH
12VVHHVHVvVHVHHHVHHVHHHVVHV
13HHVVHHVhHHVVHHVVHHVVHHVVH
14
152111111211111111111111111
Data
Cell Formulas
RangeFormula
A15:Y15A15=SUM(--(MMULT(SEQUENCE(,ROWS($A$1:$A$13),,0),--(A1:A13=$A$1:$Y$13))=13))
No this isn't quite what I want to do. I have 12 tables like this one on the one sheet and I want to know if there are any duplicates on the 12 tables, I want to have all different combinations of H, V in the possible 13 spots, but I don't want any of the columns to be the same. So I want something like, H, V, H, H and then on the next column I want H, V, V, H, and then on the next H, V, V, V, etc.
 
Upvote 0
In that case I'm afraid I don't understand what you do want.
 
Upvote 0
Hi & welcome to MrExcel.

Not entirely sure if this is what you want, but how about
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXY
1VHVVVHVVVVHHVHVVVVVVHVHVV
2HHHHHVHHHHHVVHVVVVVVVVHVV
3HHHHHHHHHHHHHHHHHHHHHHHHH
4HVHVVHHHHHVHVHVVHVVHHVVHH
5VHHVVHVvVVVHVHHHHVVVHHVVH
6VHVHHHHvHHHHVHHVHVHHHHHVH
7VHVHHHHvVVHVVHHVVHVVVVVHH
8HVHVHVHhHVHVHVHVHVHVHVHVH
9VVHVVHHvHHVHHHVVHHVHVHVVV
10VHHHHHVvHVVHHVVHVHHVVVVHV
11HHHHHHHhHHHHHHHHHHHHHHHHH
12VVHHVHVvVHVHHHVHHVHHHVVHV
13HHVVHHVhHHVVHHVVHHVVHHVVH
14
152111111211111111111111111
Data
Cell Formulas
RangeFormula
A15:Y15A15=SUM(--(MMULT(SEQUENCE(,ROWS($A$1:$A$13),,0),--(A1:A13=$A$1:$Y$13))=13))
Upon further examination I think I could actually use this, but when I put the formula in it's giving me an error. It says: "Function SEQUENCE parameter 1 value is 0. It should be greater than or equal to 1." How do I fix this? I'm pretty sure I'm entering what you gave me wrong, but I just need a little guidance on how to do it properly! Thanks for this Fluff, appreciate the help!
 
Upvote 0
What exactly have you entered? As you can see from post#3 the formula works ok.
 
Upvote 0
What exactly have you entered? As you can see from post#3 the formula works ok.
This is what I entered:

=SUM(--(MMULT(SEQUENCE(,ROWS($A$1:$A$13),,0),--(A1:A13=$A$1:$Y$13))=13))
 
Upvote 0
That absolutely fine, do you use an English language version of Excel & do you use commas as the separator in functions?
 
Upvote 0
This is what I entered:

=SUM(--(MMULT(SEQUENCE(,ROWS($A$1:$A$13),,0),--(A1:A13=$A$1:$Y$13))=1
That absolutely fine, do you use an English language version of Excel & do you use commas as the separator in functions?
English only yes, not sure what you mean about the commas. I'm pretty novice, so please feel free to explain to me like I'm a 6 year old....lol
 
Upvote 0

Forum statistics

Threads
1,215,495
Messages
6,125,149
Members
449,208
Latest member
emmac

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