Search And Highlight Rows Based On Partial Match Using Conditional Formating || Excel Tricks
Channel: dptutorials
Date: 17/04/2020

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.

For Personalized detail learning, write to dptutorials15@gmail.com

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.

***********************************************
★ My Online Tutorials ► https://www.dptutorials.com

LEARNING RESOURCES I Recommend: https://www.dptutorials.com/resources

Subscribe for more Awesome Tutorials: http://goo.gl/NyAtg2 

Support the Channel via shopping: http://ift.tt/2jH38PR

Tools that I use for Vlogging:
• Laptop: http://fkrt.it/AM9ab_uuuN
• Canon 200D Camera: http://fkrt.it/AMz75_uuuN 
• Benro Tripod: http://fkrt.it/An1lm_uuuN
• Microphone: http://fkrt.it/A2RHz_uuuN 
• Collar Microphone: http://fkrt.it/yL8kdQNNNN 
• Screen recorder: https://techsmith.pxf.io/2BMjA 
• Boom Arm Stand: http://fkrt.it/ypUD8QNNNN 
• Zoom H1 Audio Recorder: http://fkrt.it/ypb7WQNNNN
• Harison Softbox Studio Lights: http://fkrt.it/ypCaRQNNNN 
• Chroma Key Green Screen: http://fkrt.it/A3gnb_uuuN 
• Background Support Stand: http://fkrt.it/A3cCb_uuuN 
• Acoustic Foam Background: http://fkrt.it/ypsGdQNNNN 
• USB RGB LED Strip: http://fkrt.it/A3T_5_uuuN 
• Wireless Mouse: http://fkrt.it/A3Bqz_uuuN  


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:
YouTube: www.youtube.com/c/dptutorials
G+: http://ift.tt/2kAOpa6
Twitter: https://twitter.com/dptutorials15
Facebook: http://ift.tt/2kfRnDi
BlogSpot: http://ift.tt/2kB14dh

Follow:
www.dptutorials.com
www.askplanner.blogspot.com

#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