Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Are Are is offline
external usenet poster
 
Posts: 12
Default address cell where max

How to know address cell if there are max value
exm :

A B C
1 10 11 15

2 12 16 15

3 13 15 15

result B2

thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default address cell where max

Hi,

Try this array formula *SEE BELOW*

=ADDRESS(INT(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*10 00+COLUMN(A1:E7)))/1000),
MOD(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*1000+COLUMN (A1:E7))),1000),1)

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike

"Are" wrote:

How to know address cell if there are max value
exm :

A B C
1 10 11 15

2 12 16 15

3 13 15 15

result B2

thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
Are Are is offline
external usenet poster
 
Posts: 12
Default address cell where max

Thanks you Very much Mike,

"Mike H" wrote:

Hi,

Try this array formula *SEE BELOW*

=ADDRESS(INT(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*10 00+COLUMN(A1:E7)))/1000),
MOD(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*1000+COLUMN (A1:E7))),1000),1)

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike

"Are" wrote:

How to know address cell if there are max value
exm :

A B C
1 10 11 15

2 12 16 15

3 13 15 15

result B2

thanks,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default address cell where max

You're welcome

"Are" wrote:

Thanks you Very much Mike,

"Mike H" wrote:

Hi,

Try this array formula *SEE BELOW*

=ADDRESS(INT(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*10 00+COLUMN(A1:E7)))/1000),
MOD(MIN(IF(A1:E7=MAX(A1:E7),ROW(A1:E7)*1000+COLUMN (A1:E7))),1000),1)

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike

"Are" wrote:

How to know address cell if there are max value
exm :

A B C
1 10 11 15

2 12 16 15

3 13 15 15

result B2

thanks,

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default address cell where max

Try this UDF

Function maxb(r As Range)
Dim s As Range
b = Application.WorksheetFunction.Max(r)
For Each s In r
If s.Value = b Then
maxb = s.Address
Exit For
End If
Next s
End Function


On Oct 23, 1:35*pm, Are wrote:
How to know address cell if there are max value
exm :

* * * *A * * B * * C * *
1 * *10 * 11 * 15

2 * *12 * 16 * 15

3 * *13 * 15 * 15

result B2

thanks,


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
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),QuoteNotes, sarah Excel Worksheet Functions 2 February 17th 09 02:59 PM
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),Range ... ? sarah Excel Worksheet Functions 0 February 17th 09 02:06 PM
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
How to create table of cell names with the name's cell address WildwoodEngr Excel Discussion (Misc queries) 1 October 26th 06 02:52 PM
How make hyperlink refer to cell content rather than cell address. Omunene Excel Discussion (Misc queries) 3 March 2nd 06 01:07 AM


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