Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I return the value of an adjacent cell?

I have two data colums.. one with a date and another with a statistic. I want
a formula that returns the date of the all time high of the statistic.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How do I return the value of an adjacent cell?

Assume the dates are in column A and the stats are in column B

=INDIRECT("A" &MATCH(MAX(B:B),B:B,0))

For example:

11/14/2008 48
10/19/2008 26
10/25/2008 42
10/19/2008 46
10/22/2008 94
10/11/2008 62
11/20/2008 92
10/6/2008 85
10/8/2008 32
10/15/2008 38

the formula gives 10/22/2008

--
Gary''s Student - gsnu200816


"Kun0" wrote:

I have two data colums.. one with a date and another with a statistic. I want
a formula that returns the date of the all time high of the statistic.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I return the value of an adjacent cell?

Another:
=index(a:a,match(max(b:b),b:b,0))

=indirect() is volatile function--it'll recalculate whenever excel recalcs.

=index() is not.

Kun0 wrote:

I have two data colums.. one with a date and another with a statistic. I want
a formula that returns the date of the all time high of the statistic.


--

Dave Peterson
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
find lowest number and return it's adjacent cell Erik Excel Worksheet Functions 7 October 2nd 07 02:37 PM
Can you calculate a cell name? and How to return a value from an adjacent cell? HK[_2_] Excel Worksheet Functions 4 February 14th 07 04:49 PM
Return adjacent cell if conditional formatting exists. Donna Excel Worksheet Functions 12 November 10th 06 04:34 AM
Return value in adjacent cell TammyS Excel Worksheet Functions 5 August 30th 06 08:13 PM
return value in adjacent cell different workbook Don D Excel Worksheet Functions 4 May 2nd 06 11:37 PM


All times are GMT +1. The time now is 11:05 AM.

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"