+ Reply to Thread
Results 1 to 4 of 4

Lookup value in a table, return cell below

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    Lookup value in a table, return cell below

    I want to lookup a string that can fall anywhere in a table from A1:J100 and return the value in the cell below it.

    For example, find the text "January" from A1:J100 and if it falls in cell D10, give me the value in D11

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Lookup value in a table, return cell below

    Well, if you are OK with making a function in VB try this:

    1) Make this function:

    Please Login or Register  to view this content.
    2)
    Call it in the sheet, like this: =returnOffset("JANUARY",A1:J100,1,0)

    That should do it
    Attached Files Attached Files
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Lookup value in a table, return cell below

    What is the data type of the value to be returned? Is it text? Numeric? Could be both? Something else?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Lookup value in a table, return cell below

    Thank you GeneralDisarray - I'm trying to stay away from VBA for simplicity of other users of this spreadsheet.

    Tony - it could be both, but it'll likely be a a date and a number. Could you explain the impact of both on your solution?

+ 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] Match multiple substrings in a cell against a lookup table and return concatenated values
    By stevewc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2013, 10:50 AM
  2. double lookup to return cell value from data table
    By maacmaac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2011, 04:52 PM
  3. [SOLVED] return cell reference in a table based upon given lookup criteria
    By Travis in forum Excel General
    Replies: 3
    Last Post: 03-15-2006, 10:35 AM
  4. VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY
    By Scott Lolmaugh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2006, 07:10 PM
  5. [SOLVED] need Lookup table to return null or zero
    By simbob in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-24-2005, 09:05 AM

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