+ Reply to Thread
Results 1 to 2 of 2

Using a LOOKUP with duplicate values - return in an array in one cell

Hybrid View

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    Boston
    MS-Off Ver
    Excel 2013
    Posts
    14

    Using a LOOKUP with duplicate values - return in an array in one cell

    This is probably a very complicated formula. Basically, I'm trying to do a "trend if" based on a criteria. I have 2 tables. The first table is set up like this (actual table is close to 40000 rows):

    names| known ys| known xs
    bob 2 1
    chris 4 2
    sam 3 3
    bob 5 4
    chris 4 5
    sam 6 6
    bob 5 7
    chris 7 8
    sam 6 9
    bob 9 10
    chris 11 11
    sam 10 12

    The second table is set up like this:
    name| new xs| y
    bob 13
    chris 14
    sam 15

    There is nothing in the y column in the second table - that is what I am trying to solve for. So for cell C2 in the 2nd table, I'd like to look at table 1 and only look at the "bob" rows and do an array trend formula based on that. I've seen similar complicated data extraction formulas but those require multiple cells.

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: Using a LOOKUP with duplicate values - return in an array in one cell

    Check if that's what you were trying to achieve..
    Formula: copy to clipboard
    =INDEX($F$3:$F$14,MATCH(K3&L3,INDEX($D$3:$D$14&$E$3:$E$14,0),0))

    check the attached file...
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

+ 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] Using VLookup, to return all values with same lookup value in array.
    By millssnell in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-23-2013, 04:17 PM
  2. [SOLVED] Vlook up when duplicate values in the array table and lookup column
    By vinodt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2012, 10:28 PM
  3. Store cell values in an array and return values on specific condition
    By gmalpani in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 11-27-2011, 06:43 AM
  4. Array Lookup, Return/Sum Multiple Values
    By mre2000 in forum Excel General
    Replies: 3
    Last Post: 01-18-2010, 10:45 PM
  5. 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

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