LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Select minimum with duplicate values to return column headings

Hi
first post here, hopefully someone can help.

I have a spreadsheet with a set of values attached to names, in rows.

I want to choose the 3 lowest values in each row and return the column headings and have set up these formulae in cells BP-BR.
=INDEX($AJ$1:$BN$1,,MATCH(SMALL($AJ101:$BN101,1),$ AJ101:$BN101,0))
=INDEX($AJ$1:$BN$1,,MATCH(SMALL($AJ101:$BN101,2),$ AJ101:$BN101,0))
=INDEX($AJ$1:$BN$1,,MATCH(SMALL($AJ101:$BN101,3),$ AJ101:$BN101,0))
which works fine if all values are different.
However if 2 or 3 columns have the same value all 3 cells return the same column heading.

How can I get the formula to return the heading from the 2nd and 3rd occurrence of minimum values?

TIA
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA: Column Select then Data Select then return to cell A1 James C[_2_] Excel Discussion (Misc queries) 3 February 1st 10 11:35 AM
Return duplicate max values in same cell Caren Excel Discussion (Misc queries) 2 February 12th 09 04:05 PM
Select all duplicate values in a row leonidas[_76_] Excel Programming 2 August 22nd 06 03:08 PM
Select Minimum value and return the name of the supplier Mark McDonough Excel Worksheet Functions 7 June 27th 06 05:21 PM
How do i combine duplicate column headings Mike Excel Worksheet Functions 1 February 1st 06 08:29 AM


All times are GMT +1. The time now is 07:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"