Excel General

  • Thread starter Thread starter Irina
  • Start date Start date
I

Irina

Hi people,

Could I (just using functions) get addresses of:

A1 - max(b1:b6, b10:b16) (for example max is 25)
A2 - next max(b1:b6, b10:b16) (for example next max is 20)
....

or should I use a macro.

If macro who can give me a small hint how to create an array from som
range of sheet?

Thank you, thank u, thank...

Irina
 
Note that using that function, if the Max value is in B10:B16, and the
same value is in B7:B9, the reference to B7:B9 will be returned. That
may not be an issue. If it is, use:

=IF(MAX(B1:B6)>=MAX(B10:B16),ADDRESS(MATCH(MAX(B1:B6),B1:B6,0),2),
ADDRESS(9+MATCH(MAX(B10:B16),B10:B16,0),2))

In either case, also note that if there are two cells with the max
value, only the first one will be returned.
 
Back
Top