Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mahendhra
 
Posts: n/a
Default return the column reference number of a function result

I use the MIN(C49:GL49) function to get the minimum value contained in the
cell. Please tell me how to get the cell reference of the minimum value
rather than the value contained in the cell.

thanks
Mahendhra
  #3   Report Post  
RagDyeR
 
Posts: n/a
Default

Since you already know that the row number is 49, try this *array* formula:

=ADDRESS(49,MAX((C49:GL49=MIN(C49:GL49))*COLUMN(C4 9:GL49)))

If you're going to perhaps copy this down, to find the minimum column in a
datalist, adjust the formula to this:

=ADDRESS(ROW(),MAX((C49:GL49=MIN(C49:GL49))*COLUMN (C49:GL49)))

Ties will return the column with the highest address number.
--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Mahendhra" wrote in message
...
I use the MIN(C49:GL49) function to get the minimum value contained in the
cell. Please tell me how to get the cell reference of the minimum value
rather than the value contained in the cell.

thanks
Mahendhra


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
column header changed from letter to number, how return to letter Ron Excel Discussion (Misc queries) 2 May 9th 05 08:34 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
#VALUE in cell but pop up function box show right number Ted Dalton Excel Discussion (Misc queries) 1 December 14th 04 03:15 PM
Dynamic Column VlookUps Based on Week Number TLK40us Excel Worksheet Functions 3 November 14th 04 03:33 PM


All times are GMT +1. The time now is 12:30 PM.

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

About Us

"It's about Microsoft Excel"