Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Need to refer to a cell's address, not it's content...

Hello,

I have a range on which I am looking for the max value:
E51=MAX($B$54:$L$54)

Now, rather than extracting the cell's content, I'd like to extract the
cell's address, so that I can then display the content of that column's
header in range B2:L2.

Example:
If the MAX function in E51 above computes the content of cell H54, rather
than displaying the content of H54 I would like to display the content of H2.

Hopefully I'm making sense...

Thanks in advance for any help you can provide!

Alain
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Need to refer to a cell's address, not it's content...

One way:

=INDEX($B$2:$L$2,MATCH(MAX($B$54:$L$54),$B$54:$L$5 4,FALSE))

In article ,
aduroche wrote:

Hello,

I have a range on which I am looking for the max value:
E51=MAX($B$54:$L$54)

Now, rather than extracting the cell's content, I'd like to extract the
cell's address, so that I can then display the content of that column's
header in range B2:L2.

Example:
If the MAX function in E51 above computes the content of cell H54, rather
than displaying the content of H54 I would like to display the content of H2.

Hopefully I'm making sense...

Thanks in advance for any help you can provide!

Alain

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Need to refer to a cell's address, not it's content...

JE,

That works for me, thank you very much.

I'm surprised there's no simpler function to give a cell's address; from
there, I would have used the OFFSET function.

Oh well, love to learn something everyday!

Thanks again,

Alain

"JE McGimpsey" wrote:

One way:

=INDEX($B$2:$L$2,MATCH(MAX($B$54:$L$54),$B$54:$L$5 4,FALSE))

In article ,
aduroche wrote:

Hello,

I have a range on which I am looking for the max value:
E51=MAX($B$54:$L$54)

Now, rather than extracting the cell's content, I'd like to extract the
cell's address, so that I can then display the content of that column's
header in range B2:L2.

Example:
If the MAX function in E51 above computes the content of cell H54, rather
than displaying the content of H54 I would like to display the content of H2.

Hopefully I'm making sense...

Thanks in advance for any help you can provide!

Alain


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Need to refer to a cell's address, not it's content...

I can't think of how that would be any simpler. In Outline, what I
suggested requires 3 functions (INDEX,MATCH,MAX).

Your model would, I would think, also require at least 3
(OFFSET,ADDRESS,MAX), unless you're thinking there should be a special
ADDRESSOFMAX() function.

Also using INDEX instead of OFFSET is more efficient in that INDEX is
not volatile (for later versions of XL) while OFFSET is.



In article ,
aduroche wrote:

I'm surprised there's no simpler function to give a cell's address; from
there, I would have used the OFFSET function.

Oh well, love to learn something everyday!

Thanks again,

Alain

"JE McGimpsey" wrote:

One way:

=INDEX($B$2:$L$2,MATCH(MAX($B$54:$L$54),$B$54:$L$5 4,FALSE))

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
Printing cell's content larger than cell width Neophyte New Users to Excel 1 October 14th 07 09:20 PM
How make hyperlink refer to cell content rather than cell address. Omunene Excel Discussion (Misc queries) 3 March 2nd 06 01:07 AM
Automatically filling in cells based on another cell's content Ginger Excel Worksheet Functions 5 September 2nd 05 09:17 AM
Changing named range reference depending on a cell's content cparaske Excel Discussion (Misc queries) 1 July 29th 05 07:06 PM
How do you copy a cell's content verses it's formula? Tammy Excel Discussion (Misc queries) 1 March 2nd 05 06:30 PM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"