Search And Highlight Rows Based On Partial Match Using Conditional Formating || Excel Tricks

preview_player
Показать описание
In this tutorial let us see learn how to Search And Highlight Rows Based On Partial Match Using Conditional Formatting in excel

You might be aware of conditional formatting in Excel.
This is the sample data range with countries and population.

If suppose we want to highlight rows of this data range based on criteria set in cell G2. How we do that?

1. We select the entire data range,
2. Click on conditional formatting in the Home tab, click on New rule and
3. Click the last option “Use a formula to determine which cells to format”
4. And place cursor in the formula bar select the first cell of data range i.e c5 and type = and select cell G2 where you are having the criteria.
5. Now, you need to remove the $ symbol on the right side of C5 cell, this will apply formatting for all the rows based on respective cell of column C.
6. Click on Format and select fill colour as yellow, click ok and again click ok to close the window.
7. Now type India in cell G2 and you can see that row 9 is highlighted in yellow colour.

This many of us might be knowing.

Now, let’s get into the exact problem i.e, if you want to highlight Row 9 where there is text India even if you type partial text like IND in cell G2?
How do we that?

Let’s see now.

1. Select the entire data range again on which you want to apply Conditional Formatting
2. In the Home tab, click on Conditional Formatting.
3. In the drop-down options, click on New Rule.
4. Click on the option ‘Use a formula to determine which cells to format’.
5. Enter the following formula =ISNUMBER(SEARCH($G$2,$C5))) to search for partial matches
6. Click on ‘Format’ button.
7. Specify the formatting, say fill with yellow color if the cell matches the condition
8. Click OK and again click on OK to close this window.
Now type IN in Cell G2, you will notice that India and Indonesia have been highlighted in yellow color.

Similarly type IR, you will notice that Iran, Iraq and Ireland have been highlighted. Wonderful right.

Now, delete the Cell G2, you will observe that everything is highlighted in yellow.

To correct this, you need to modify the formula a bit, lets do it now.
• Select the data range and go to conditional formatting and click on manage rule.
• Select our latest rule and click on Edit rule button,
• In the formula bar, type the formula before the existing formula with the AND condition.
• Click OK and again OK to close this window.
• You will notice that all the highlighting has been removed

Let us again check by entering IN in cell G2 and remove the text to make it blank.

It is working well right

So friends, in this way you can Search And Highlight Rows Based On Partial Match Using Conditional Formatting in excel.

I hope you have enjoyed this tutorial, If yes, please do give me a like, share and comment.

For further more interesting videos, please do subscribe dptutorials.

If you found this video valuable, give it a like. If you know someone who needs to see it, share it. Leave a comment below with your thoughts. Add it to a playlist if you want to watch it later.

***********************************************

Tools that I use for Vlogging:

Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!

***********************************************

You Can Connect with Me at:

Follow:

#dptutorials #excel tricks #excel learning #excel tutorials #excel training #excel tips

Tags: -
excel formulas in English, excel in English, excel tutorial in English,ms excel in English,ms excel tutorial in English, learn excel in English
Рекомендации по теме
Комментарии
Автор

The knowledge u share could be out of an experience, u gathered over many years which is very helpul....

feroskhan
Автор

Simple and clear, thank you. Often video tutorials are harder for me to follow, but you made this very easy.

rachelloise
Автор

the best tutorial. give the all file excel, sir. thanks.

ubaidillahmuhammad
Автор

Hello sir can you create a tutorial for exact match and partial match applying in one search typing bar?

jannamicaellamacahia
Автор

Sir how to combine more formulas in a single formula
We need only count when cells text and colour same

naveenkumarg
Автор

How to do it when G column has multiple rows when we need to highlight partial match?

vkjnrokis