+ Reply to Thread
Results 1 to 5 of 5

How can I VLOOKUP one row beneath my value?

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    Isle of Man
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    82

    How can I VLOOKUP one row beneath my value?

    I currently have a VLOOKUP formula which will look up the contents of cell A3, in columns C to AP and return the value of AP (see as below):

    =VLOOKUP(A3,$C:$AP,40,FALSE)


    However, the value I want it to return is one cell below this, in column AP. I've tried looking up various formulas online which use things such as OFFSET and MATCH but I've not used these before and I'm not sure how they'd fit in? Can someone please explain/help with this?

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How can I VLOOKUP one row beneath my value?

    =INDEX($AP:$AP,MATCH(A3,$C:$C,0)+1)
    Please Login or Register  to view this content.
    Try this formula
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: How can I VLOOKUP one row beneath my value?

    Try it this way:

    =INDEX($C:$AP,MATCH(A3,$C:$C,0)+1,40)

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    11-25-2014
    Location
    Isle of Man
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    82

    Re: How can I VLOOKUP one row beneath my value?

    Both of these seem to work great, and they make sense too so I think I'll be able to follow this in future.. Many thanks!!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: How can I VLOOKUP one row beneath my value?

    You're welcome - thanks for the rep.

    The main difference is that my formula uses the whole of the table, and gets data from the 40th column (hence the 40 at the end), whereas the other formula specifically gets data from column AP. With mine you can make the 40 variable, so that you could copy it across, for example, to get data from other columns - you would need to change A3 to $A3.

    Pete

+ 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] Find last used row +1 and delete all row beneath
    By Fean in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-20-2015, 10:52 AM
  2. IF cell beneath is blank then
    By papasmurfuo9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-22-2014, 03:46 PM
  3. [SOLVED] Fill in missing values of one row with the rows beneath it if the rows beneath match
    By ilikeexcel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-20-2012, 02:40 PM
  4. VLOOKUP for Rows beneath
    By vpanicker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2012, 05:32 PM
  5. [SOLVED] Add row to the row beneath it based on 2 conditions
    By cwkoops in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2012, 03:41 PM
  6. Inserted row gets formatting from row beneath it and not above it?
    By Bob McCusker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2009, 08:08 AM
  7. Vlookup and Delete Row Beneath
    By steviegee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-30-2008, 06:00 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