+ Reply to Thread
Results 1 to 3 of 3

Return value under column header

  1. #1
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Return value under column header

    I am pulling data from a remote database. What is returned is a row of column names and a row of data.

    I'd like to use something like vlookup to enter into another cell that does the following:



    Lookup from row A4:Z4 for a value in A15 and return the Value in this cell(B15) of the row immediately under A where it finds the match.

    So basically go find a column header called customer(which is in A15) and return me the value in row 5 that is in the same column.



    Any help is greatly appreciated.

    Thanks

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Return value under column header

    Try HLOOKUP

    =HLOOKUP(A15,A4:Z5,2,0)

    in B15

  3. #3
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Return value under column header

    THANKS! I never even knew hlookup existed LOL...I've always known about VLookup

+ 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