HomeGoogle DocsSpreadsheetHow to Highlight Vlookup Result Value in Google Sheets

How to Highlight Vlookup Result Value in Google Sheets

Published on

In order to highlight Vlookup result value, the function Vlookup is not necessary for Google Sheets. I have two different formulas for you and none of them using Vlookup.

I’ll come to the formulas later. First, understand the peculiarities of the two formulas that you are going to learn.

There may be multiple occurrences of the Vlookup search key in your data range (first column). In that case, the formula option #1 would highlight all the corresponding cells.

But my second formula would exactly behave like a Vlookup. It would only highlight one single cell.

Why these much talk about Vlookup?

You may have seen plenty of tutorials on the use of Vlookup online. In my blog also you can find lots of different variations of the Vlookup formula (please use the search key on the navigation bar).

If somebody takes an interview of you to check your Google Sheets or Excel skills, they will definitely ask about Vlookup.

It’s a fact that many Spreadsheet users are not familiar with using Vlookup. But they may definitely be heard about the use of this function.

So learning Vlookup is an essential thing in Spreadsheets. Having said that I am taking you back to the highlighting part.

Highlight Vlookup Result Value in Google Sheets

I am starting with the formula # 1 which is easy to use.

Option 1:

Option 1: Highlight Vlookup Result Value in Google Sheets

The formula to highlight Vlookup result value:

=B3:B7=$G$3

Cell G3 contains the search key “Susan”. I want to search this name in the range A3: A7 and highlight the mark of this person in the range D3: D7.

You need to just apply this formula in the conditional formatting rule. If you are new to Google Sheets conditional formatting, here is how to do it.

Conditional formatting is residing under the menu Format. Refer to this pic.

Highlight Vlookup formula rule in Google Sheets

This is the simplest way of highlighting a Vlookup result value in Google Sheets. The above formula highlights the value 95 in cell D4.

To extract this value in the cell, here is the Vlookup.

=vlookup(G3,B3:D7,3,0)

Pros and Cons of the above Conditional Formatting Formula.

Pros:

Very easy to understand and use.

Cons:

Not useful if the search key has duplicates in the search column.

Option 2:

This is the perfect formula that exactly mimics the Vlookup output but in the form of highlighting.

Formula:

=address(row(),column(),4)=("D"&match($G$3,$B$3:$B$7,0)+2)

This formula has already featured in one of my earlier tutorials. So please read that post to understand this formula better – Highlight Intersecting Value in Google Sheets in a Two Way Lookup.

To apply this conditional formatting formula, follow the below screen capture.

Flexible Vlookup Conditional formatting formula rule

This formula is 100% accurate and works similar to Vlookup.

Pros:

The perfect formula to Highlight Vlookup Result Value in Google Sheets.

Can make flexible (find the detail below).

Cons:

There are no drawbacks.

A Flexible Vertical Lookup Formula That Highlights Results

This is not a new formula. I am converting my above second formula to a ‘more’ flexible one.

Step 1: Create a drop-down list in cell G3 using data validation. You can find the option under the Data menu.

drop-down for Vlookup highlighting

Step 2: Then create a second drop-down list in cell H3.

data validation for Vlookup highlighting

Now see the conditional formatting formula. Apply this in the conditional formatting.

=address(row(),column(),4)=($H$3&match($G$3,$B$3:$B$7,0)+2)

Now you can control the highlighting using the drop-down.

Just change the search_key using the drop-down menu and also the column to highlight.

What’s the difference in this formula compare to the previous one?

Instead of the letter “D”, I have used the cell reference $H$3 this time in this formula.

Use any of the formulas above to highlight Vlookup result value in Google Sheets. Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Appointment Schedule Template in Google Sheets

An appointment schedule template in Google Sheets can assist you in efficiently managing your...

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Running Total By Month in Excel

This tutorial demonstrates how to calculate the running total by month in a range...

SORT and SORTBY – Excel Vs Google Sheets

While Excel offers the SORT and SORTBY functions for sorting a table, Google Sheets...

More like this

Appointment Schedule Template in Google Sheets

An appointment schedule template in Google Sheets can assist you in efficiently managing your...

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.