Highlight duplicate groupings

jaugent27

New Member
Joined
Jan 30, 2009
Messages
16
Office Version
  1. 365
Platform
  1. MacOS
How do I highlight rows with unique duplicates? I have a report that lists estimates. Each row lists a separate sku/line item to the estimate with each line having the same estimate number. I want to be able to highlight the cells in either alternating colors or draw a border around the grouping of similar estimate numbers. So for each of the groupings in column A that are duplicates, all those rows would be highlighted a specific color say gray. Then then next grouping would be another color, perhaps just blank or white, then the third grouping would be gray again. Just something to easily show the groupings. Any suggestions? Thanks!

Estimate #DateCustomerItemPrice
1​
10/31/22​
Bill's Company
14503​
$10​
1​
10/31/22​
Bill's Company
14505​
$15​
1​
10/31/22​
Bill's Company
14506​
$9​
2​
11/2/22​
Tedco
15574​
$12​
2​
11/2/22​
Tedco
15573​
$11​
2​
11/2/22​
Tedco
15583​
$15​
2​
11/2/22​
Tedco
14576​
$9​
3​
11/5/22​
ABC Co
15547​
$12​
3​
11/5/22​
ABC Co
15579​
$8​
4​
11/6/22​
Fred Inc
19476​
$15​
5​
11/7/22​
Jerry's Sales
19756​
$9​
5​
11/7/22​
Jerry's Sales
19856​
$12​
5​
11/7/22​
Jerry's Sales
19854​
$15​
 

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.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Done, thanks.
 
Upvote 0
Thanks for that (y)
How about
Fluff.xlsm
ABCDE
1Estimate #DateCustomerItemPrice
2131/10/2022Bill's Company14503£10
3131/10/2022Bill's Company14505£15
4131/10/2022Bill's Company14506£9
5202/11/2022Tedco15574£12
6202/11/2022Tedco15573£11
7202/11/2022Tedco15583£15
8202/11/2022Tedco14576£9
9305/11/2022ABC Co15547£12
10305/11/2022ABC Co15579£8
11406/11/2022Fred Inc19476£15
12507/11/2022Jerry's Sales19756£9
13507/11/2022Jerry's Sales19856£12
14507/11/2022Jerry's Sales19854£15
15
16
17
Data
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:E20Expression=ISODD(MATCH($A2,UNIQUE($A$2:$A$100),0))textNO
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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