Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default minimum value column name look up

Is it possible to lookup the minimum value in a set of numbers in a row and
then also list the column name for where the minimum answer value came from?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default minimum value column name look up

In A1:F1 I have the numbers 90, 80, 50, 60, 85, 75
The formula =MATCH(MIN(A1:F1),A1:F1,0) returns the value 3 since the
minimum value resides in the third cell of the array.
This formula returns the value C - the column with the min value:
=INDEX({"A","B","C","D","E","F"},MATCH(MIN(A1:F1), A1:F1,0))
while this returns $C$1
=ADDRESS(1,MATCH(MIN(A1:F1),A1:F1,0))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"shifty" wrote in message
...
Is it possible to lookup the minimum value in a set of numbers in a row
and
then also list the column name for where the minimum answer value came
from?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default minimum value column name look up

Assuming your set of numbers is in row 2 and your column names are in row 1,
this should return the minimum:
=MIN(2:2)
and this the column heading:
=INDEX(1:1,MATCH(MIN(2:2),2:2,0))

If you want to put the first of these in the same row as your numbers, you
will need to specify the range more precisely, for example:
=MIN(A2:H2)
with the formula in column I or later.

"shifty" wrote in message
...
Is it possible to lookup the minimum value in a set of numbers in a row
and
then also list the column name for where the minimum answer value came
from?



Reply
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
macro to move to minimum value in column of data g_noggle Excel Discussion (Misc queries) 2 November 8th 07 02:32 PM
Find minimum value in column. dlbeiler Excel Worksheet Functions 3 October 12th 07 05:55 PM
How to get the minimum number of one column while ignoring the err Yuanhang Excel Discussion (Misc queries) 2 June 30th 07 03:06 PM
Header of column which has minimum in row? PGPS Excel Discussion (Misc queries) 1 November 28th 06 09:03 PM
Minimum qualifiers to Find (VBA) the actual last used Row, Column EagleOne Excel Discussion (Misc queries) 3 July 31st 06 04:51 PM


All times are GMT +1. The time now is 12:44 AM.

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

About Us

"It's about Microsoft Excel"