I have data organized like this:
Month Value1 Value2 Value3 Value4 Value5 Jan 4 1 1 1 1 Feb 2 2 0 3 1 Mar 3 3 3 0 1 April 3 2 2 1 0
And I want to return a list of row names for the highest three values in any given column. So, the following results would generate:
Value1: Jan, Mar, April
Value2: Feb, Mar, April
Value3: Jan, Mar, April
Value4: Jan, Feb, April
Value5: Jan, Feb, Mar
As you can see by my results, order doesn't matter -- I just need the highest 3 values. In the event of a tie, it is okay to truncate the list.
Bookmarks