Conditional Formatting: Using colors and highlights to evaluate your data

So you’ve just downloaded the latest homeless data to dive into. Immediately, you noticed that there are a few duplicate entries in your report. So now you wonder, “how many other duplicates are there?”

One simple Excel function is available to help you answer that question.

Conditional Formatting is a powerful tool that can help you visually explore and analyze your data.

You can find this nifty tool under the Home ribbon, in the Styles section:


To illustrate, here we have a fictitious dataset of 15 clients, or so we think:


Highlighting Duplicates

To check if there are any duplicate names, you can do the following:

  1. Highlight the Name column.


  1. Click on Conditional Formatting and navigate to Highlight Cells Rules > Duplicate Values…


  1. Select the highlight color of your choice and click OK.


  1. Any duplicates is now highlighted in the Name column.


Color Scaling

You can also create a color scale based on how large or small a measure is. In this same example, let’s take a look at the Days Homeless column.

  1. Highlight the Days Homeless
  2. Click on Conditional Formatting, then navigate to Color Scales.
  3. Select the red decreasing gradient icon in the middle row, all the way on the right.


  1. This will now highlight Days Homeless with the largest number as the darkest red and the lowest number as white.


You can play around with the different color scales depending on what measure you are analyzing.

Conditional Formatting with Simple Formulas

Finally, let’s do some conditional formatting with simple custom formulas. For this example, we would like to answer the question: Who has a Start Date before the year 2000?

  1. Highlight the Start Date
  2. Select Conditional Formatting and navigate to Highlight Cells Rules > Less Than…


  1. Enter “1/1/2000” in the first box and select your desired highlight color.
  2. Click OK.


  1. The Start Date column has the three start dates that occur before the year 2000 highlighted.


And that’s it!

You can use this in conjunction with the previous Excel tip to filter your data to a specific color by simply using the Filter by Color option:


Now you are ready to trim down those spreadsheets and start getting to the heart of your data.

Remember, if you need assistance or have questions about reporting you can always contact your HMIS Team at Commerce.

Share this Post