Search Excel for Colors

Search Excel for Colors

Excel is great for organizing, analyzing, and showing data. Using colors to sort and highlight info is super useful. Colors add insight, making it easy to see patterns in any data. 

But, Excel can’t easily search and filter by color. Scanning for colors in large datasets is slow and impractical. Luckily, there are tricks for finding colors, from sorting to formulas.

Our guide will show you how to master color data analysis in Excel. We’ll start with how colors work in Excel and a sample dataset. Then, we’ll cover basic and advanced ways to find and filter by color. We’ll explore real examples and share tips. You’ll learn how to use new tools to uncover Excel data insights.

Alright, let’s dip our toes into the colorful waters of Excel and start with the basics.


Understanding Colors in Excel

Before anything else, let’s see how Excel deals with colors. Colors show up in three main spots:

  • Cell background color
  • Font color 
  • Conditional formatting

Cell background? That’s just the cell’s fill color. It’s a common way to use colors in Excel for categorizing data. Font color is just the text’s color inside a cell. With conditional formatting, you auto-apply colors based on cell contents – like turning cells green if they’re over a certain value.

Excel comes with a default palette of 60 colors that you can apply as cell backgrounds or font colors. You can even make your own colors if you need to. To pick a color, use the Home tab tools, or hit More Colors for more options.

Here, we’ll use a dataset made for investment bankers. It contains financial metrics for a set of companies, with each row representing a company and columns for data points like:

  • Company Name
  • Sector 
  • Market Cap
  • P/E Ratio
  • YoY Revenue Growth
  • Debt/Equity Ratio
  • Dividend Yield

We’ll use colors in the dataset to categorize companies by sector, flag high and low values, and more. Of course, the same techniques work for datasets of any kind.

Got the color basics down? Great! Now, let’s spice things up with some simple yet effective searching techniques.

Create Financial Models 10x Faster with Macabacus

Gain access to 100+ shortcuts, formula auditing visualizations, easy Excel-to-PowerPoint linking and productivity tools to help you accelerate financial modeling and presentations.

Start your Free Trial

Basic Techniques for Searching Colors

Let’s start with simple ways to spot cells of a certain color in Excel.

Find and Replace

First, you can use the Find and Replace tool.

1. Hit Ctrl+F to open up ‘Find and Replace’.

2. Once the ‘Find and Replace’ pops up, click ‘Format’.

3. Choose the Fill tab, pick your color, then click ‘OK’.

4. Once you pick a color, select ‘Find All’. Excel selects all cells in your chosen color.

Do the same for font colors by choosing the Font tab instead.

Sort By Color

Another simple way? Sort by color. Excel quickly sorts cells by background or font color. Select your data, go to the Data tab, and then click ‘Filter’ on the Sort & Filter group. Use the drop-down menu to sort by cell or font color. It groups cells by color, so you can spot patterns and outliers.

Filtering by color shows only selected colors while hiding the rest. After you click ‘Filter’ on the Sort & Filter group, use the filter drop-down menus on each header to filter by color. 

Choose the color you want to see and click ‘OK’.

Then, it will show you only selected colors.

The above tricks quickly check small to medium datasets for cool bits. But, they’re not great for larger, complex data. Filtering or sorting by color manually is tough and not much help for deep questions about your color-coded data. 

Feeling comfortable with the basics? Awesome, it’s time to level up and dive into the magic of formulas.

Download Excel Template

Download Template

Download Template

Search Excel for Colors

Try Macabacus for free to accelerate financial modeling in Excel.

Real-World Applications and Case Studies

Let’s dive into some real-life examples of color-based data tricks.

Case Study 1: Project Management

Imagine you’re a project manager with a huge team. You face a ton of tasks in Excel, each in its own row. To quickly see how things are progressing, you implement a color-coding system:

  • Green: On Track
  • Yellow: At Risk
  • Red: Delayed

With the filtering tricks from before, a few clicks show you the big picture. Filter by red to see a list of all delayed tasks that need immediate attention, or filter by green to see what’s going well.

You can also use formulas to dig deeper. Want to know exactly how many tasks are in each status? Use ‘COUNTIF’ on the color values. Curious if certain types of deliverables are more likely to run into problems? Compare the percentage of reds between different task categories.

Colors help you stay on top and deal with issues early in big projects.

Case Study 2: Financial Risk Analysis

As an investment analyst, you’re always on the hunt for quick ways to spot opportunities and risks. You could color-code stocks or securities by key financial figures.

For example, you could write a formula to automatically color code each row based on criteria like:

  • P/E Ratio above X: Red (overvalued)
  • Debt/Equity Ratio above Y: Orange (high debt)
  • Dividend Yield below Z: Green (good value)

Then, you can quickly filter and sort to show the most promising or risky investments. Lots of red? Time to rethink your portfolio. Lots of green? Might be a good time to buy.

You can also use the color-driven counting and averaging formulas we looked at earlier to quantify the level of risk in a portfolio. Maybe anything over 10% red is a warning sign that things are getting too risky.

The above method mixes data’s power with color’s instant impact. You get a quick feel of a big dataset with solid numbers for backup.

After seeing the case studies, you’re probably buzzing with ideas. But hold on, let’s talk best practices to make sure your color game stays sharp and professional.

Best Practices and Tips

As you get into using color in Excel, keep the following best practices and tips in mind:

1. Use colors judiciously. Avoid too many colors; they make sheets messy. Use 3-6 colors only, and keep it consistent.

2. Keep accessibility in mind. Always remember some folks can’t see colors well. Avoid tricky color pairs like red/green. Add shapes, icons, or bars with colors for clarity.

3. Document your color coding system. Sharing spreadsheets? Add a color legend so everyone gets what each color means. You may even want to include your criteria formulas right in the spreadsheet.

4. Use named ranges. As we saw with formulas, named ranges simplify reading and maintaining color formulas compared to scattered cell references.

5. Explore add-ins. Many add-ins boost Excel’s color features. Use them to your benefit.

Above all, experiment. The more tinker mess with colors in your spreadsheets, the more cool uses you’ll find.

Armed with the above insights, you’re ready to turn your spreadsheets into vibrant masterpieces. Let’s bring it all home.


You’re ready to add color and find big insights in your spreadsheets! Remember, use colors wisely, write down your system, and think of accessibility. Get used to the techniques, from simple sorting to complex formulas, and soon you’ll be expertly managing your data.

Go for it, and be creative with your colors and analysis! Want to boost your Excel skills? Look into Macabacus. It’s a toolkit for you to improve your workflow and excel in your industry. 

Experienced or new, keep trying out colors in your data. Endless possibilities await, and you might find groundbreaking insights. Dive in, let your data sparkle, and enjoy it! With the above techniques and tools, you’re set to brighten up data analysis.

Create Financial Models 10x Faster with Macabacus

Gain access to 100+ shortcuts, formula auditing visualizations, easy Excel-to-PowerPoint linking and productivity tools to help you accelerate financial modeling and presentations.

Start your Free Trial

Discover more topics

Build an operating model
In this tutorial, we will walk through how to build a general industry business operating model.
Read more
Build an M&A model
In this section, we demonstrate how to model a merger of two public companies in Excel.
Read more
Build an LBO model
In this tutorial, we will walk you through building an LBO model in Excel.
Read more
Asset and Stock Deals
The first step in purchase price allocation, or PPA, is to determine the purchase price.
Read more