+ Reply to Thread
Results 1 to 6 of 6

Jump to cell address of Vlookup result

  1. #1
    Registered User
    Join Date
    09-15-2020
    Location
    Virginia
    MS-Off Ver
    2020
    Posts
    2

    Jump to cell address of Vlookup result

    Hi all,

    I'm trying to write code that that will help me jump to the cell address of a Vlookup result. For example:

    - A Vlookup formula in cell A1 of Sheet1 references a table in Sheet2 and displays the contents of cell C10 of Sheet2.
    - I want to be able to click on cell A1 of Sheet1, use a macro shortcut, and automatically jump to cell C10 of sheet2.

    I've seen some similar posts, but these seem to be limited to specific tables/sheets. I want to be able to use the same VBA code on any Vlookup formula of any cell/sheet, and automatically jump to the cell that contains the result displayed by the Vlookup formula. I'm a novice coder and this is beyond me. Any ideas?

    Thanks!

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,445

    Re: Jump to cell address of Vlookup result

    Hi,

    While you could do this programmatically, it can also be done with formulas.

    Suppose Sheet1!C1 contains your look up value, Sheet2!B1:B10 contain your look up list and Sheet2!C1:C10 contains the list of values to return..

    This formula will return the appropriate value from Sheet2!C1:C10 and hyperlink directly to the cell containing the value.

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    09-15-2020
    Location
    Virginia
    MS-Off Ver
    2020
    Posts
    2

    Re: Jump to cell address of Vlookup result

    Thanks, I've seen similar formulas and they are helpful in specific circumstances. My real goal, however, is to have a quick/universal solution that I can use in any workbook without much effort. The use of the formulas take a bit of time so wouldn't fit that need in most circumstances. Would really need a programmatic solution.

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,445

    Re: Jump to cell address of Vlookup result

    OK,
    For the same example, Sheet1!A1 is the look up value, Sheet1!C1 is the value returned by the look up and Sheet2!C1:C15 is where the returned values are listed, this in the Sheet1 module should do as you require.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-20-2021
    Location
    Florida
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Jump to cell address of Vlookup result

    I am trying to jump to a cell within a sheet itself with a look up value. This is what I want to do: Lookup lot number in column A3-160, and then jump to the line that corresponds to the lot number. How would this be accomplished with vlookup? Sorry, I haven't done anything in excel in a long time.

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: Jump to cell address of Vlookup result

    @pheld3423
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

    This is your second one today with the same question
    Last edited by protonLeah; 05-20-2021 at 01:08 PM.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to go to a Cell Address which is the result of a formula
    By JoeMichelJarre in forum Excel General
    Replies: 5
    Last Post: 05-20-2021, 01:06 PM
  2. Ping IP Address and Write Result to next Cell
    By tomlancaster in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2015, 06:06 PM
  3. [SOLVED] Replacing cell address in a formula with the result of ADDRESS function
    By CMG2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2014, 02:59 AM
  4. [SOLVED] Using function result as cell address
    By El_engineer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-19-2013, 08:19 AM
  5. [SOLVED] Return Cell Address of the min() formula result
    By ciprian in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2013, 08:47 AM
  6. Lookup Result - Cell Address, not the contents
    By Scorpio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2012, 12:15 PM
  7. Cell Address from result of Min
    By scottylad2 in forum Excel General
    Replies: 5
    Last Post: 04-27-2011, 03:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1