+ Reply to Thread
Results 1 to 5 of 5

Find the value of a cell below a certain cell

  1. #1
    Registered User
    Join Date
    10-16-2011
    Location
    St. Pete Florida
    MS-Off Ver
    Excel 2007
    Posts
    4

    Find the value of a cell below a certain cell

    Hello, I am trying to get the value of a cell below a cell.
    Exampe:

    A1 = "1" B1 = "00134789"
    A2 = B2 = "20X1102"

    A2 contains no data, I can get the B1 data with the VLOOKUP but can't get the B2 data. My data is sorted by Column A....is there a command I can put in a formula to get the data below a cell?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Find the value of a cell below a certain cell

    Hi Rockhead.. If you've got nothing in some of the cells in column A, you can't use Vlookup. You could just Index it & refer to the row number. Put the formula below in any cell & enter a row number in C1

    Please Login or Register  to view this content.
    This is only any good if you know the row numbers. You need to have a sorted reference column if you want reliable results

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Find the value of a cell below a certain cell

    Hi Rockhead and welcome to the forum,

    Your question looks like OFFSET may be needed.

    Read
    http://support.microsoft.com/kb/324991
    http://chandoo.org/wp/2008/11/19/vlo...-spreadcheats/

    Hope these help, especailly the second link above.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Find the value of a cell below a certain cell

    Try using INDEX and MATCH instead of VLOOKUP, e.g. with lookup value in C1

    =INDEX(B2:B100,MATCH(C1,A1:A99,0))

    so if C1 matches with A5 you get the value in B6
    Audere est facere

  5. #5
    Registered User
    Join Date
    10-16-2011
    Location
    St. Pete Florida
    MS-Off Ver
    Excel 2007
    Posts
    4

    Talking Re: Find the value of a cell below a certain cell

    Quote Originally Posted by daddylonglegs View Post
    Try using INDEX and MATCH instead of VLOOKUP, e.g. with lookup value in C1

    =INDEX(B2:B100,MATCH(C1,A1:A99,0))

    so if C1 matches with A5 you get the value in B6
    That works perfectly. Thanks daddylonglegs.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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