Results 1 to 5 of 5

Lookup + Duplicate Values

Threaded View

keithmacd Lookup + Duplicate Values 06-08-2012, 07:46 PM
Haseeb Avarakkan Re: Lookup + Duplicate Values 06-08-2012, 08:07 PM
jason.b75 Re: Lookup + Duplicate Values 06-08-2012, 08:09 PM
Pete_UK Re: Lookup + Duplicate Values 06-08-2012, 08:12 PM
keithmacd Re: Lookup + Duplicate Values 06-12-2012, 07:49 PM
  1. #1
    Registered User
    Join Date
    10-15-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Lookup + Duplicate Values

    Hello all,

    My attempts at this problem are getting me nowhere (http://www.excelforum.com/excel-work...24#post2817524).

    Here's the situation:

    - I have a dataset that grows each month (refreshed monthly)
    - dataset is 50 names (labels); each name has a value
    - there may be no to many duplicate values within a month (I'm not worried about duplicates between months)

    I need to:

    - take the top 15 values and lookup the corresponding names

    The problem:

    I can sort the top 15 values and lookup the corresponding name. When there are duplicate values however, I get the same name duplicated: the lookup matches only the first instance of the duplicated value and returns the name for that instance. I'm trying to return the name for the second (and nth) instance of the duplicated value.

    Solution constraints:

    - I need to avoid pivot tables and macros; this workbook will auto-update with no manual intervention (set and forget) and the workbook can't set off security warnings or trip spam filters (email distribution)
    - users are able to switch the selected month via drop-down box (in order to see historical data)
    - the labels may change when the data refreshes; the top 25 are likely to remain constant but their order will change (sorting is on the metrics, not the label); in other words, the actual value of label 5 one month may be label 7 the next, and label 10 the month after

    Worksheet with sample data and the lookups I've got so far is attached.

    Any help is appreciated!
    Attached Files Attached Files

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