Formatting rows based on unique combinations

MikeThePooh

New Member
Joined
May 30, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi all, I want to be able to format rows based on unique combinations of values across columns. So, just like this function:
1717095038212.png

Except, rather than this just identifying and formatting unique values in a single column, it would need to identify unique combinations of values across multiple columns. When I try to highlight multiple columns while using this tool, it still only highlights cells with unique values in each column.

For context, in case this isn't the best way to do what I'm trying to do: I'm trying to essentially do the opposite of Remove Duplicates, i.e., I want to do exactly this except removing unique values instead of duplicate values:

1717095256864.png
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Welcome to the forum.
It would be more helpful is you shared a sample of data and an expected outcome. A Table would be good (but using the xl2bb add in - link below) would be best.
Do not post an image, as that means the forum needs to construct your scenario from nothing.

Thanks in advance.
 
Upvote 0
Try:

Book1
FGH
1Col ACol BCol C
2a1dog
3b2cat
4c3mouse
5d1iguana
6e2bird
7f3dog
8g1cat
9h2mouse
10a3iguana
11b1bird
12c2dog
13d3cat
14e1mouse
15f2iguana
16g3bird
17h1dog
18a2cat
19b3mouse
20c1iguana
21d2bird
22e1mouse
23f1cat
24g2mouse
25h3iguana
26a1dog
27
Sheet17
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F:HExpression=COUNTIFS($F:$F,$F1,$G:$G,$G1,$H:$H,$H1)>1textNO
 
Upvote 0
Ah okay, my mistake on the screenshots. Here's a data set in table form:

ABCD
1111
1111
2211
2111
3321
3321
4123
5222
6333
7321

I would want some sort of tool that deletes rows 4-5, 8-11 and leaves rows 2-3, 6-7.
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,166
Members
452,615
Latest member
bogeys2birdies

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