+ Reply to Thread
Results 1 to 4 of 4

Return values with duplicate referenced data

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Return values with duplicate referenced data

    Hello,

    I'm looking for a formula that help me return non-repetitive value as it has same lookup value. It's a bit hard for me to explain but if you can see my attached. I will make sense what I'm looking for.

    sample test.xlsx

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

    Re: Return values with duplicate referenced data

    I looked at your file.



    I have no idea what you're wanting to do!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Return values with duplicate referenced data

    I think you could do this by adding a helper column (I used E - you can hide it if you want)....
    E4=D4+COUNTIF($D$4:D4,D4)/1000
    copied down

    Thenb to pull out your data...
    G4=INDEX($C$4:$C$18,MATCH(F4+COUNTIF($F$4:F4,F4)/1000,$E$4:$E$18,0))
    copied down
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,713

    Re: Return values with duplicate referenced data

    Similar to FDibbins solution another way. This is without a helper column.

    In H4 this array-entered formula filled down.

    =INDEX($C$4:$C$18,SMALL(IF(F4=$D$4:$D$18,ROW($C$4:$C$18)-MIN(ROW($C$4:$C$18))+1),COUNTIF($F$4:F4,F4)))

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Dave

+ 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] PLEASE HELP: Return Duplicate Values with V-lookup
    By Funky_Finance in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2014, 12:24 AM
  2. Replies: 20
    Last Post: 11-27-2014, 02:37 AM
  3. Loop will not return values for duplicate record
    By bluesuedeshoes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2014, 06:35 PM
  4. [SOLVED] Return non-duplicate values from 2 lists
    By Darkonius in forum Excel General
    Replies: 4
    Last Post: 08-12-2013, 02:41 PM
  5. [SOLVED] How To Vlookup On Duplicate Values But Only Return The First
    By dcrandall in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2013, 01:26 PM
  6. Using vlookup to return values for duplicate entries
    By vmartyan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2012, 10:58 PM
  7. Remove Duplicate Values in an Index Return?
    By phatmo111 in forum Excel General
    Replies: 2
    Last Post: 03-29-2011, 12:54 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