+ Reply to Thread
Results 1 to 3 of 3

Trying to lookup a cell reference where the result vector will have one or more results.

  1. #1
    Registered User
    Join Date
    09-05-2014
    Location
    Bundaberg
    MS-Off Ver
    2010/2013
    Posts
    2

    Trying to lookup a cell reference where the result vector will have one or more results.

    Hi guys,

    I'm trying to lookup a cell reference where the result vector will have one or more results. I have two (2) data sets where I am trying to match one (1) column in each of them to each other and then display my results from a third column. For example:

    'Sheet1'!A2:A134 and 'Sheet2'!A2:A256 have corresponding numerical identifiers in the cells and 'Sheet2'!J2:J256 has the results that I wish to display.

    The problem I have is that 'Sheet2'! obviously has more cells and therefore a simple lookup function does not work. What happens is that the results keep displaying further and further down the page instead of stopping at the row they correspond to. For example:

    What needs to happen - 'Sheet1'!A2 corresponds to 'Sheet2'!A2 corresponds to 'Sheet2'!J2
    What is happening - 'Sheet1'!A2 corresponding to 'Sheet2'!A3 (or even further down) corresponding to 'Sheet2'!J3 (or even further down).

    The current formula I have looks something like this - =LOOKUP('Sheet1'!A2,'Sheet2'!A2:A256,'Sheet2'!J2:J256).

    Could anyone please tell me one of the following things:

    1 - Instead of the formula having a meltdown whenever there are more results than lookup values, how can I get it to stop at the first or (more importantly) the latest result due to the fact that they are all date and time stamped?

    2 - Is it possible to have the second, third or fourth reference from the result vector displayed across different columns, rather than just having it stop entirely?

    I'm hoping the amount of detail in this question doesn't put anyone off answering.
    Please help! I need desperately.

    Dan

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Trying to lookup a cell reference where the result vector will have one or more result

    The detail doesn't put me off, but the absence of a sample Excel sheet does!! Please post a sample without any confidential information!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-05-2014
    Location
    Bundaberg
    MS-Off Ver
    2010/2013
    Posts
    2

    Re: Trying to lookup a cell reference where the result vector will have one or more result

    Hi Glenn,

    Please see attached example. My original message should spell out what I need.

    Dan
    Attached Files Attached Files

+ 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] Lookup (vector) returns 0 when cell is empty
    By kieranm105 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 04:51 AM
  2. Replies: 4
    Last Post: 12-21-2012, 02:56 PM
  3. LOOKUP Help - specifying result vector
    By baniels in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-30-2012, 02:09 PM
  4. Lookup vector - result vector
    By abousetta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2011, 02:59 AM
  5. Lookup result vector from another cell - How?
    By Badvgood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2007, 09:53 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