Color Unique Record in a Range in Microsoft Excel

 

In this article, we will learn how to color unique record in a range. We use the Conditional Formatting option along with COUNTIF function in Microsoft Excel to get the desired outcome.

Conditional Formatting we use to highlight the important points with color in a report.
 
COUNTIF function we use to count how many times one word is appearing in a column.

 

Let’s take an example to understand how we can highlight the unique cells.

We have data in range C2:E11 in which column C contains Agents name, column D contains No. of sales and column E contains sales amount. Now, we want to highlight the unique Agents name with the color.

img2
 
To highlight the Unique Agents name, follow the below given steps:-

  • Select the data range C3:C11
  • Go to Home Tab
  • Select Conditional Formatting from Styles group

img3
 

  • From the Conditional formatting drop down menu, select New Rule
  • New Formatting Rule dialog box will appear
  • Click on “Use a formula to determine which cells to format” from Select a Rule type

img4
 

  • Write the formula in Formula tab

img5
 

  • Click on Format button
  • “Format Cells” dialog box will appear
  • In the Fill tab, choose the color as per the requirement

img6
 

  • Click on OK to Format Cells dialog box
  • Click on OK to New Formatting Rule’s dialog box

img7
 
img8
 

All unique cells will get highlighted with the chosen color. This is the way we can highlight the unique text in a range by using the Conditional Formatting option along with COUNTIF function.

 

image 48

 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com
 
 



Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>