Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Show Cell Reference

Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Show Cell Reference

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Show Cell Reference

Hi, I it is close, but not quite.

I created a column of data starting at 10 incrementing by 5 from D2 - D20
(10 - 100). When I use your suggestion in cell D21, it give me the answer of
$B$19

Here is my formula: =ADDRESS(MATCH(MAX(D2:D21),D2:D21,0),2)

???
--
Thanks for the brainwaves!


"willwonka" wrote:

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Show Cell Reference

Formula correction:

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0),2)

--
Thanks for the brainwaves!


"CJ" wrote:

Hi, I it is close, but not quite.

I created a column of data starting at 10 incrementing by 5 from D2 - D20
(10 - 100). When I use your suggestion in cell D21, it give me the answer of
$B$19

Here is my formula: =ADDRESS(MATCH(MAX(D2:D21),D2:D21,0),2)

???
--
Thanks for the brainwaves!


"willwonka" wrote:

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Show Cell Reference

I should have said that the 2 stood for the second column which is
column B. If you are in column D, then a 4 should work.


CJ wrote:
Formula correction:

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0),2)

--
Thanks for the brainwaves!


"CJ" wrote:

Hi, I it is close, but not quite.

I created a column of data starting at 10 incrementing by 5 from D2 - D20
(10 - 100). When I use your suggestion in cell D21, it give me the answer of
$B$19

Here is my formula: =ADDRESS(MATCH(MAX(D2:D21),D2:D21,0),2)

???
--
Thanks for the brainwaves!


"willwonka" wrote:

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Show Cell Reference

Also, the MATCH formula returns the row number within the range, so if
you don't start on row 1 then would need to add the amount of rows
above your range.

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0)+1,4)


willwonka wrote:
I should have said that the 2 stood for the second column which is
column B. If you are in column D, then a 4 should work.


CJ wrote:
Formula correction:

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0),2)

--
Thanks for the brainwaves!


"CJ" wrote:

Hi, I it is close, but not quite.

I created a column of data starting at 10 incrementing by 5 from D2 - D20
(10 - 100). When I use your suggestion in cell D21, it give me the answer of
$B$19

Here is my formula: =ADDRESS(MATCH(MAX(D2:D21),D2:D21,0),2)

???
--
Thanks for the brainwaves!


"willwonka" wrote:

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Show Cell Reference

OK, that works!!

Thanks a bunch!
--
Thanks for the brainwaves!


"willwonka" wrote:

Also, the MATCH formula returns the row number within the range, so if
you don't start on row 1 then would need to add the amount of rows
above your range.

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0)+1,4)


willwonka wrote:
I should have said that the 2 stood for the second column which is
column B. If you are in column D, then a 4 should work.


CJ wrote:
Formula correction:

=ADDRESS(MATCH(MAX(D2:D20),D2:D20,0),2)

--
Thanks for the brainwaves!


"CJ" wrote:

Hi, I it is close, but not quite.

I created a column of data starting at 10 incrementing by 5 from D2 - D20
(10 - 100). When I use your suggestion in cell D21, it give me the answer of
$B$19

Here is my formula: =ADDRESS(MATCH(MAX(D2:D21),D2:D21,0),2)

???
--
Thanks for the brainwaves!


"willwonka" wrote:

Maybe this works:

=address(match(max(b1:b250),b1:b250,0),2)


CJ wrote:
Hi Groupies

I would like to be able to see which cell the Max function is referring to.

For example: I have a list of values in B1 - B250. The Max function returns
the highest value in that range, but I would also like to find out which cell
contains that value. Is this possible?
--
Thanks for the brainwaves!




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
How do i assign cell A1 to show the current cursor cell in Excel? OB Excel Discussion (Misc queries) 2 October 11th 06 04:02 PM
Show values in formula instead of cell reference pnorgate Excel Worksheet Functions 6 August 20th 06 09:31 AM
Input cell reference is not valid (One Variable Data Table) Dottore Excel Worksheet Functions 9 September 1st 05 03:05 PM
how do I format a cell reference to move as source changes KGray Excel Worksheet Functions 1 August 13th 05 12:41 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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