Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Reference to a cell returned by MIN...how?

How do I get to the row and col reference of a cell whose value I obtain via
calling MIN (I need to input this referece to OFFSET...)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Reference to a cell returned by MIN...how?

Hi,

You could try:-

=ADDRESS(MATCH(MIN(A1:A100),A1:A100,0),1)

Where the range you are looking for the minimum in is A1 -A100

Mike

"Mac" wrote:

How do I get to the row and col reference of a cell whose value I obtain via
calling MIN (I need to input this referece to OFFSET...)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Reference to a cell returned by MIN...how?

Well, my range is a non-contiguous space, like R18C2, R18C10, R37C2,
R37C10..how to go around about this constraint? Apparently MATCH does not
like my range being scattered around...

"Mike H" wrote:

Hi,

You could try:-

=ADDRESS(MATCH(MIN(A1:A100),A1:A100,0),1)

Where the range you are looking for the minimum in is A1 -A100

Mike

"Mac" wrote:

How do I get to the row and col reference of a cell whose value I obtain via
calling MIN (I need to input this referece to OFFSET...)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Reference to a cell returned by MIN...how?

You can use a separate are to store the cell addresses, say in I1:I4.
Then, assuming that the rectangular range that contains all these
cells is A1:D5, you can use:

=MIN(IF(ISNUMBER(MATCH(ADDRESS(ROW(A1:D5),COLUMN(A 1:D5),
4,0),I1:I4,0)),A1:D5))

Enter as an *array* formula (Shift+Ctrl+Enter)

Note that I used the form ADDRESS(row,col,4,1). The 1 is if you store
the addresses as R1C1. You might need to modify the other references.

HTH
Kostis Vezerides

On Oct 16, 1:28 pm, Mac wrote:
Well, my range is a non-contiguous space, like R18C2, R18C10, R37C2,
R37C10..how to go around about this constraint? Apparently MATCH does not
like my range being scattered around...

"Mike H" wrote:
Hi,


You could try:-


=ADDRESS(MATCH(MIN(A1:A100),A1:A100,0),1)


Where the range you are looking for the minimum in is A1 -A100


Mike


"Mac" wrote:


How do I get to the row and col reference of a cell whose value I obtain via
calling MIN (I need to input this referece to OFFSET...)



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
Formula so if reference is selected, a specific value is returned. Boss Excel Worksheet Functions 1 July 24th 07 07:22 AM
Formula so if reference is selected, a specific value is returned Boss Excel Discussion (Misc queries) 1 July 24th 07 04:41 AM
limit characters returned a cell reference Lila Excel Worksheet Functions 8 September 6th 06 03:33 AM
Need reference in adjacent column returned Dan Excel Worksheet Functions 9 March 5th 06 07:05 PM
determine which cell a value is returned from curiousg Excel Discussion (Misc queries) 3 February 9th 05 07:15 PM


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