+ Reply to Thread
Results 1 to 9 of 9

combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

  1. #1
    Forum Contributor
    Join Date
    02-05-2013
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    Excel for Mac 2024
    Posts
    142

    combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    I have a =VLOOKUP() formula that returns a value on a separate worksheet. That formula reads =VLOOKUP(G4,'Worksheet 2'!A$71:N$410,14,FALSE).

    Now I need a formula that returns the value in the cell located immediately below the cell that is returned by that formula.

    I believe I need some combination of the ADDRESS and OFFSET formula with the VLOOKUP formula.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    try

    =INDEX(N$71:N$410,MATCH(VLOOKUP(G4,Worksheet 2!A$71:N$410,14,FALSE),N$71:N$410,0)+1)

  3. #3
    Forum Contributor
    Join Date
    02-05-2013
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    Excel for Mac 2024
    Posts
    142

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    John - I had to add Worksheet 2! to the first and last range and then the formula worked beautifully. You set me on the right track. Thank you!!!

  4. #4
    Forum Contributor
    Join Date
    02-05-2013
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    Excel for Mac 2024
    Posts
    142

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    John - at first I thought your formula worked but I noticed later that it does not and it is because the values repeat and the formula simply looks for the first value that matches. That causes many of the values to be wrong because it repeats the offset from that first value. I need for the formula to retrieve the cell reference of the vlookup result and return the value located in the cell immediately below that cell reference. Thoughts? Thanks.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    VLOOKUP and MATCH retrieve the FIRST value that matches the selection criterion so if there are multiple occurrences of a value then I am not sure what the solution is. Could you please post a small sample file showing the problem?

  6. #6
    Forum Contributor
    Join Date
    02-05-2013
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    Excel for Mac 2024
    Posts
    142

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    John - I figured out a bit of an awkward work-around but it saved time over figuring out how to use reference formulas. Thank you very much for your help on this.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    I would go with

    =INDEX('Worksheet 2'!N$72:N$411,MATCH(G4,'Worksheet 2'!A$71:A$410,0))

    Notice the offset by 1 row in the ranges.

  8. #8
    Forum Contributor
    Join Date
    02-05-2013
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    Excel for Mac 2024
    Posts
    142

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    Thanks for the idea. I solved it another way but the problem with INDEX and MATCH is that they look for the first value that matches and I have repeating values. That causes wrong answers because is goes to the first match and yields the offset from that, when the offset may be a different value if it went to the correct match instead of the first match. I'm good now though.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,254

    Re: combination of =OFFSET() and =ADDRESS() formulas with =VLOOKUP() formula

    Thank you for the feedback: glad you found a "workaround".

+ 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] Offset in combination with match and Vlookup
    By Wiebe in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-25-2014, 05:24 AM
  2. Combination Sum / Vlookup / Min / If Formulas
    By Formula Junkie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2014, 09:18 PM
  3. Combination of OFFSET & VLOOKUP formula
    By Polymnia in forum Excel General
    Replies: 7
    Last Post: 08-30-2011, 08:48 AM
  4. Replies: 1
    Last Post: 07-13-2011, 09:22 AM
  5. Replies: 3
    Last Post: 09-23-2009, 06:27 AM
  6. Problem with combination of Product, Offset, Address, Match
    By espresso1981q in forum Excel General
    Replies: 2
    Last Post: 05-10-2009, 07:30 AM
  7. Replies: 4
    Last Post: 03-31-2008, 12:28 PM

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