Highlighting Unique prices with a 2 column list.

trekker1218

Board Regular
Joined
Feb 15, 2018
Messages
86
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have an item price list by item number in column A and various prices for item in Column B. I need to highlight all the different prices for each item number. see sample below.
The RMCUST is customer ID# Customers get unique pricing based on buying power they have.
I want to highlight all the same prices with same color then fill down on ALL customers and item numbers
Customer #Item #Price
00202990135-0138$ 2.29
00203010135-0138$ 2.69
00203030135-0138$ 2.29
00203050135-0138$ 3.29
00203060135-0138$ 2.29
00203070135-0138$ 2.19
00039840369SRAW$ 169.13
00171190369SRAW$ 169.13
00196700369SRAW$ 169.13
00196740369SRAW$ 149.13
00202630369SRAW$ 169.13
00202650369SRAW$ 269.13
00202660369SRAW$ 169.13
00202670369SRAW$ 169.13
00202700369SRAW$269.13
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi Trekker1218,

I'm not sure I've understood correctly. Are these the ones you'd expect to be highlit?

Trekker1218.xlsx
ABC
1Customer #Item #Price
2202990135-0138$2.29
3203010135-0138$2.69
4203030135-0138$2.29
5203050135-0138$3.29
6203060135-0138$2.29
7203070135-0138$2.19
839840369SRAW$169.13
9171190369SRAW$169.13
10196700369SRAW$169.13
11196740369SRAW$149.13
12202630369SRAW$169.13
13202650369SRAW$269.13
14202660369SRAW$169.13
15202670369SRAW$169.13
16202700369SRAW$269.13
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:C99999Expression=COUNTIFS($C$2:$C$99999,$C2,$B$2:$B$99999,$B2)=1textNO
 
Upvote 0
Hi Trekker1218,

I'm not sure I've understood correctly. Are these the ones you'd expect to be highlit?

Trekker1218.xlsx
ABC
1Customer #Item #Price
2202990135-0138$2.29
3203010135-0138$2.69
4203030135-0138$2.29
5203050135-0138$3.29
6203060135-0138$2.29
7203070135-0138$2.19
839840369SRAW$169.13
9171190369SRAW$169.13
10196700369SRAW$169.13
11196740369SRAW$149.13
12202630369SRAW$169.13
13202650369SRAW$269.13
14202660369SRAW$169.13
15202670369SRAW$169.13
16202700369SRAW$269.13
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:C99999Expression=COUNTIFS($C$2:$C$99999,$C2,$B$2:$B$99999,$B2)=1textNO
Yes.
i need to hilight all the different prices by color if possible.
so item# 0135-0138 with price of 2.29 would all be yellow
and price of 2.69 could be green and so on.

then repeat for each item number
 
Upvote 0
Conditional Formatting using a formula only allows one format per formula. I think you'd need VBA to set various colors.
 
Upvote 0
Solution
ok. I tried the conditional rule yo uprovided above and it only changed the first row.
 
Upvote 0
This assumed your data started at A2.
Don't forget to set the Conditional format on all rows (e.g. A2:C99999)
It's important to use the correct relative/absolute addressing
Excel Formula:
=COUNTIFS($C$2:$C$99999,$C2,$B$2:$B$99999,$B2)=1
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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