Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JR JR is offline
external usenet poster
 
Posts: 92
Default locating the cell that contains the MIN or MAX

working horizontally, I have found the MIN and Max of the data on the row
{example: =MIN(C2:BE2)}

I now would like to know what cell in row 2 holds the MIN or MAX.

Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 265
Default locating the cell that contains the MIN or MAX

In article ,
JR wrote:

working horizontally, I have found the MIN and Max of the data on the row
{example: =MIN(C2:BE2)}

I now would like to know what cell in row 2 holds the MIN or MAX.

Any suggestions?


Try...

=SUBSTITUTE(CELL("address",INDEX(C2:BE2,MATCH(MIN( C2:BE2),C2:BE2,0))),"$"
,"")

or

=ADDRESS(ROW(C2:BE2),MATCH(MIN(C2:BE2),C2:BE2,0)+C OLUMN(C2)-1,4)

--
Domenic
http://www.xl-central.com
  #3   Report Post  
Posted to microsoft.public.excel.misc
JR JR is offline
external usenet poster
 
Posts: 92
Default locating the cell that contains the MIN or MAX

Thanks!

Both work fine.



"Domenic" wrote:

In article ,
JR wrote:

working horizontally, I have found the MIN and Max of the data on the row
{example: =MIN(C2:BE2)}

I now would like to know what cell in row 2 holds the MIN or MAX.

Any suggestions?


Try...

=SUBSTITUTE(CELL("address",INDEX(C2:BE2,MATCH(MIN( C2:BE2),C2:BE2,0))),"$"
,"")

or

=ADDRESS(ROW(C2:BE2),MATCH(MIN(C2:BE2),C2:BE2,0)+C OLUMN(C2)-1,4)

--
Domenic
http://www.xl-central.com

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
Locating cell using Hyperlink stew Excel Discussion (Misc queries) 10 November 3rd 08 02:23 PM
Locating a cell within a macro Ron (Bismark) Excel Worksheet Functions 1 December 18th 06 07:24 AM
Locating First and Last Cell Containing a Specific Value [email protected] Excel Worksheet Functions 1 May 16th 06 07:23 PM
Locating Last Nonzero Cell in a Row wilby31 Excel Worksheet Functions 6 September 15th 05 08:19 PM
Locating first blank cell Mike W New Users to Excel 3 August 25th 05 09:02 PM


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