Values that appear more than once in different ranges

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
845
Office Version
  1. 365
Platform
  1. Windows
I currently have
=Sort(unique(vstack(B4:B10, D4:d10, f4:f10)))
Which creates a list of all values in those ranges

What I want is a list of just values that appear more than once e.g. in column b
Red
Green
Red

Column d
Yellow
Orange
Purple
Green

Column f
Purple
Blue

So the ones that appear 2 or more times should be red green and purple

Thanks
 
Hello, one way to do it could be:

Excel Formula:
=LET(
a,TOCOL(VSTACK(B4:B10,D4:D10,F4:F10),1),
b,TRANSPOSE(UNIQUE(a,,TRUE)),
UNIQUE(FILTER(a,NOT(BYROW(a=b,LAMBDA(x,OR(x)))))))
 
Upvote 0
A little bit shorter (also allows for no dupes)
Excel Formula:
=LET(a,TOCOL(VSTACK(B4:B10, D4:D10, F4:F10),1),UNIQUE(FILTER(a,MATCH(a,a,0)<>SEQUENCE(ROWS(a)),"None")))
 
Upvote 0

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