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!
Bookmarks