Conditional Formatting for Triple+ Values in Column

JEH105

New Member
Joined
Oct 11, 2019
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hello and help!

I am trying to set up a conditional formatting formula that highlights similar values in the same column (Column U) listed more than 2 times. The issue is that I need the formula to only match the text before the "/" character, since the number will always be unique.

Example: ABC Business, Inc. / #12345678

I tried this formula, but I'm guessing I'm doing something wrong since it didn't work:
Excel Formula:
=COUNTIF(LEFT($U2,SEARCH("/",$U2)),$U2)>2

Any help is appreciated, thank you!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I think you need to add the entire range
=COUNTIF(LEFT($U2,SEARCH("/",$U2),$U2:$U100)>2
 
Upvote 0
I think you need to add the entire range
=COUNTIF(LEFT($U2,SEARCH("/",$U2),$U2:$U100)>2
Thank you, I keep getting the attached error with this formula. :(
1678891159079.png
 
Upvote 0
How about
Excel Formula:
=COUNTIF($U$2:$U$100,LEFT($U2,SEARCH(" ",$U2))&"*")>2
 
Upvote 0
How about
Excel Formula:
=COUNTIF($U$2:$U$100,LEFT($U2,SEARCH(" ",$U2))&"*")>2
Thank you, but this didn't work either. It's highlighting values that are not listed more than three times. I think it's probably because of the change in the formula from "/" to " "?
 
Upvote 0
Hello and help!

I am trying to set up a conditional formatting formula that highlights similar values in the same column (Column U) listed more than 2 times.
Might be the last bold bit in the above quote that brought that about, try changing the >2 to >3 in @Fluff's formula

***Ignore me then, I need to learn to look further than the end of my nose soemtimes!
 
Last edited:
Upvote 0
Yup I changed that to test it & forgot to change it back.
Yes! Thank you so much, this worked!

However, I'm realizing I need this CF for multiple sheets. Where if the value is listed more than 2 times in column U of multiple sheets, the value highlights. I tried this one, but it didn't work:

Excel Formula:
=COUNTIFS($U$2:$U$500,LEFT($U2,SEARCH("/",$U2))&"*">2,
$U$2:$U$500,LEFT('Sheet2'!$U2,SEARCH("/",'Sheet2'!$U2))&"*">2)
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,121
Members
453,021
Latest member
Justyna P

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