Excel: Jump to the VLOOKUP Result Cell

Published on

In Excel, we can create a hyperlink to jump to the VLOOKUP result cell by using the CELL, INDEX, MATCH, and HYPERLINK functions. This is similar to how you can jump to the current date cell in Excel.

Where is this useful?

Imagine you want to look up the price of a fruit and modify it. In such a case, this approach can quickly take you to the VLOOKUP result cell, allowing you to make edits easily.

Here is the formula to jump to the VLOOKUP result cell in Excel:

=HYPERLINK("#"&CELL("ADDRESS", INDEX(table_array, MATCH(lookup_value, INDEX(table_array, 0, 1), 0), col_index_num)), VLOOKUP(lookup_value, table_array, col_index_num, 0))

You can easily modify this formula for your range, as you only need to adjust the arguments, similar to how VLOOKUP works:

  • lookup_value – The value you want to search for.
  • table_array – The range where the lookup will occur.
  • col_index_num – The column number from which to return the result.

Example of Jumping to the VLOOKUP Result Cell in Excel

Assume you have the following table in the range B2:D7, which contains fruit names, prices, and stock quantities in columns B, C, and D, respectively.

Now, let’s say you want to create a hyperlink that will take you to the cell where the quantity (stock) of “Mango” is located.

Enter “Mango” in cell F2, and use the following formula in cell G2:

=HYPERLINK("#"&CELL("ADDRESS", INDEX(B2:D7, MATCH(F2, INDEX(B2:D7, 0, 1), 0), 3)), VLOOKUP(F2, B2:D7, 3, 0))

Where:

  • lookup_value – F2
  • table_array – B2:D7
  • col_index_num – 3

This formula allows you to jump to the VLOOKUP result cell in Excel, specifically to the stock quantity of the fruit specified in F2.

Jump to the VLOOKUP result cell in Excel

Formula Breakdown

This is essentially a HYPERLINK formula in Excel, which consists of two parts:

HYPERLINK(link_location, friendly_name)

The friendly_name is the link label, which is your VLOOKUP formula itself:

VLOOKUP(F2, B2:D7, 3, 0)

So, how do we jump to this VLOOKUP result cell? In other words, how do we specify the link_location?

The link_location is a combination of the CELL, INDEX, and MATCH functions, as shown here:

"#"&CELL("ADDRESS", INDEX(B2:D7, MATCH(F2, INDEX(B2:D7, 0, 1), 0), 3))

Breakdown of Components:

  • INDEX(B2:D7, 0, 1): This extracts the first column in the table_array (i.e., B2:B7).
  • MATCH(F2, …, 0): This matches the lookup_value in cell F2 against the column obtained from the previous INDEX.
  • INDEX(B2:D7, …, 3): This offsets the number of rows returned by MATCH within the table_array B2:D7 and offsets 3 columns (the column index number).

This approach is a workaround to return the result of the VLOOKUP since we can’t directly extract the cell reference from the VLOOKUP result.

  • CELL("ADDRESS", …): The CELL function returns the cell address in text format.
  • "#"&…: This combines the “#” symbol with the address returned by the CELL function to create the link_location.

This way, we can create a hyperlink to jump to the VLOOKUP result cell in Excel. When you replace the lookup_value in cell F2, the VLOOKUP result will refresh, along with the hyperlink.

Resources

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.

Highlight Upcoming Birthdays in Google Sheets

When highlighting upcoming birthdays in Google Sheets, one important aspect is ignoring the year...

Compare Two Tables for Differences in Excel

To compare two tables with similar data for differences, you can use the XLOOKUP...

Calculate Weighted Average in Pivot Table in Google Sheets

You can calculate a weighted average in a Pivot Table using a custom formula...

Summarize Data and Keep the Last Record in Google Sheets

In Google Sheets, we can summarize data (like sum, average, min, max, count) using...

More like this

Compare Two Tables for Differences in Excel

To compare two tables with similar data for differences, you can use the XLOOKUP...

How to Retrieve the Last Record in Each Group in Excel

As part of data analysis, you may need to retrieve the last record from...

How to Perform Case-Sensitive XLOOKUP in Excel with EXACT

We may not always need to perform a case-sensitive XLOOKUP for product names in...

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.