Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
WolfJack
 
Posts: n/a
Default How do I: Extract column headers based on lowest number in sequence

I'd like for Excel to return the colomn "name" based on the lowest value in
the sequence. For example-
Columns are A, B, C, D, E, F, G
Column names are in row 1
Rows 2-415 will have a series of numbers
Column H will contain the results for each individual row

I know I can use =SMALL(A3:G3,1) to get me the lowest value. The problem I
am having is how do I them translate that into the name of the column.

Thanks
-Adam


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default How do I: Extract column headers based on lowest number in sequence

=INDEX(A1:G1,1,MATCH(MIN(A3:G3),A3:G3,0))

HTH
--
AP

"WolfJack" a écrit dans le message de news:
...
I'd like for Excel to return the colomn "name" based on the lowest value
in the sequence. For example-
Columns are A, B, C, D, E, F, G
Column names are in row 1
Rows 2-415 will have a series of numbers
Column H will contain the results for each individual row

I know I can use =SMALL(A3:G3,1) to get me the lowest value. The problem
I am having is how do I them translate that into the name of the column.

Thanks
-Adam




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default How do I: Extract column headers based on lowest number in sequence


Ardus Petus wrote:
=INDEX(A1:G1,1,MATCH(MIN(A3:G3),A3:G3,0))

HTH
--
AP


Perfect!

Thank you very much!!

-Adam

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
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
How do I extract 3 numbers inside a longer number to another column ? Dbase Beginner Excel Discussion (Misc queries) 2 January 20th 06 05:39 PM
Repeating number sequence in a column Nexan Excel Discussion (Misc queries) 3 March 31st 05 07:55 PM


All times are GMT +1. The time now is 09:11 PM.

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"