ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   address cell where max (https://www.excelbanter.com/excel-discussion-misc-queries/246361-address-cell-where-max.html)

Are

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,

Mike H

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,


Are

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,


Mike H

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,


muddan madhu

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,




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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com