Conditional format help

khollibygolli

New Member
Joined
Apr 17, 2023
Messages
12
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
  2. Web
I am trying to highlight duplicates of column C that are SKU product codes on Google Sheets. I currently have =COUNTIF($C$3:C3,C3)>1
My SKUs are 9 characters long but I only want the format to highlight if the 6th-9th characters are a match is this possible?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try:

Excel Formula:
=COUNTIFS($C$3:C3,C3,LEFT($C$3:C3,5)&RIGHT($C$3:C3,4),LEFT(C3,5)&RIGHT(C3,4))>1
 
Upvote 0
What about;

Excel Formula:
=COUNTIFS($C$3:C3,C3,MID($C$3:C3,6,4),MID(C3,6,4))>1
That is not valid either.
Please test your solutions and try your formulas before posting them!
Excel will tell you pretty quickly that it is not a valid formula.
 
Upvote 0
Try this formula:
Excel Formula:
=SUMPRODUCT(--(MID(C$3:C3,6,4)=MID(C3,6,4)))>1
 
Upvote 0

Forum statistics

Threads
1,223,311
Messages
6,171,363
Members
452,397
Latest member
ddneptune

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