Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Little pete
 
Posts: n/a
Default look across row - pick highest value - take aplha code of column

I have a large work sheet that is set out like the following;

NEW
COLUMN
A B C D Value
Court 1 0 20 0 80 D
Court 2 30 10 60 0 C
Court 3 90 0 10 0 A
Court 4 0 100 0 0 B

I want to add a new column (Value) to each row which looks across the row to
find the highest value and then takes the Alpha code at the top of that
column.

Any help on this would be great.

Cheers Peter
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default look across row - pick highest value - take aplha code of column

Try something like this:

With your data list in A1:E5

F2: =INDEX($A$1:$E$1,1,MATCH(MAX(B2:E2),A2:E2,0))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Little pete" wrote:

I have a large work sheet that is set out like the following;

NEW
COLUMN
A B C D Value
Court 1 0 20 0 80 D
Court 2 30 10 60 0 C
Court 3 90 0 10 0 A
Court 4 0 100 0 0 B

I want to add a new column (Value) to each row which looks across the row to
find the highest value and then takes the Alpha code at the top of that
column.

Any help on this would be great.

Cheers Peter

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default look across row - pick highest value - take aplha code of column

=index($a$1:$d$1,match(max($a2:$d2),$a2:$d2,0))

And drag down.

(adjust the columns to match)

Little pete wrote:

I have a large work sheet that is set out like the following;

NEW
COLUMN
A B C D Value
Court 1 0 20 0 80 D
Court 2 30 10 60 0 C
Court 3 90 0 10 0 A
Court 4 0 100 0 0 B

I want to add a new column (Value) to each row which looks across the row to
find the highest value and then takes the Alpha code at the top of that
column.

Any help on this would be great.

Cheers Peter


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
Little pete
 
Posts: n/a
Default look across row - pick highest value - take aplha code of colu

excellent!!

Cheers

"Dave Peterson" wrote:

=index($a$1:$d$1,match(max($a2:$d2),$a2:$d2,0))

And drag down.

(adjust the columns to match)

Little pete wrote:

I have a large work sheet that is set out like the following;

NEW
COLUMN
A B C D Value
Court 1 0 20 0 80 D
Court 2 30 10 60 0 C
Court 3 90 0 10 0 A
Court 4 0 100 0 0 B

I want to add a new column (Value) to each row which looks across the row to
find the highest value and then takes the Alpha code at the top of that
column.

Any help on this would be great.

Cheers Peter


--

Dave Peterson

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
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
code not unique find latest date Barbara Wiseman Excel Discussion (Misc queries) 3 December 11th 05 08:50 AM
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM


All times are GMT +1. The time now is 03:04 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"