MS Excel — Two Awesome Conditional Formatting Tips

Use of the INDIRECT and SEARCH functions can turbocharge your Conditional formatting in Excel!

Don Tomoff
Let’s Excel
2 min readNov 12, 2019

--

SEARCH function to highlight rows based on variable

INTRODUCTION

Conditional formatting is a great way to highlight items for the spreadsheet user. But, setting the conditions up can be tricky.

It’s even more confusing when you introduce variables into the formatting (so that user can define what to format).

But, persevere and the payoff is significant!

Two of my favorite techniques when working with lists of data are to highlight entire rows in tables when specific values are found in certain selected table columns (e.g., highlight all rows where company market cap exceeds a certain value).

HOW?

I use two Excel functions which make this happen — INDIRECT and SEARCH, based on scenario.

INDIRECT

“ The Excel INDIRECT function returns a valid reference from a given text string. Use INDIRECT when you need to convert a reference assembled as text into a proper reference.”

SEARCH

“ The Excel SEARCH function returns the location of one text string inside another. SEARCH returns the position of the first character of find_text inside within_text. Unlike FIND, SEARCH allows wildcards, and is not case-sensitive.”

To see how these functions work with conditional formatting, you can check out the Slideshare below:

Slideshare — Using INDIRECT and SEARCH functions to create conditional formatting rules

The application of the SEARCH function can be seen in the video below:

SEARCH function for Conditional Formatting in Excel

Give it a try and let me know your thoughts!

What conditional formatting tips or tricks do you use?

About Don

“It’s time for different”

Connect with Don!

LinkedIn, Flipboard, Twitter, Snapchat

--

--

Don Tomoff
Let’s Excel

It’s time for DIFFERENT— On a mission to challenge the status quo to a more productive and effective end… #digital #Excel #data #analytics #genai #chatgpt