count repeats without duplicates

excelNewbie22

Well-known Member
Joined
Aug 4, 2021
Messages
510
Office Version
  1. 365
Platform
  1. Windows
hi!
i want to count how many numbers is repeating from row2 to row 3,
and again from row 2 to row 4 - but this time if the repeated one is in here (row2:row4) and is identical to the one found in row2:row3, then ruling it out/skip it, and count only if there's new one
is it possible?

the main example is in g2:i2

test.xlsm
ABCDEFGHI
1123456row 2+3row 2+4row 2+5
211220222732123
321416313233211
42617203236112
541220223337212
631218323537
71319323637
84518353637
test
Cell Formulas
RangeFormula
G2:G5G2=SUM(--(COUNTIF(A3:F3,A2:F2)>0))
H2:H5H2=SUM(--(COUNTIF(A4:F4,A2:F2)>0))
I2:I5I2=SUM(--(COUNTIF(A5:F5,A2:F2)>0))
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,638
Messages
6,120,674
Members
448,977
Latest member
moonlight6

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