Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Patrick White
 
Posts: n/a
Default MAX formula with Associated DATE

Hi there

I have organised data into 2 Columns named DATE (A1:A10) and DATA (B1:B10)

What I am looking at doing is creating a formula where it sources the
highest and Lowest number in the DATA col. with the corresponding DATE as
well.

The first part I have worked out = MAX(B1:B10) and LOW(B1:B10) however I am
unsure of how to get it to lookup the corresponding date.

Thanks for any help.

Patrick



  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


=OFFSET(B1,MATCH(MAX(B1:B10),B1:B10,0)-1,-1)
and
=OFFSET(B1,MATCH(MIN(B1:B10),B1:B10,0)-1,-1)

Mangesh


PS: if I double-posted, sorry.


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=376706

  #3   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

=OFFSET(B1,MATCH(MAX(B1:B10),B1:B10,0)-1,-1)
and
=OFFSET(B1,MATCH(MIN(B1:B10),B1:B10,0)-1,-1)

Mangesh



"Patrick White" wrote in message
...
Hi there

I have organised data into 2 Columns named DATE (A1:A10) and DATA (B1:B10)

What I am looking at doing is creating a formula where it sources the
highest and Lowest number in the DATA col. with the corresponding DATE as
well.

The first part I have worked out = MAX(B1:B10) and LOW(B1:B10) however I

am
unsure of how to get it to lookup the corresponding date.

Thanks for any help.

Patrick





  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Patrick White wrote:
Hi there

I have organised data into 2 Columns named DATE (A1:A10) and DATA (B1:B10)

What I am looking at doing is creating a formula where it sources the
highest and Lowest number in the DATA col. with the corresponding DATE as
well.

The first part I have worked out = MAX(B1:B10) and LOW(B1:B10) however I am
unsure of how to get it to lookup the corresponding date.

Thanks for any help.

Patrick




Try either building a pivot table where you can make it show Top N (N=1)
or see:

http://www.excelforum.com/showthread.php?t=333697

for a formula system where you need to set the Top 3 to Top 1 in order
to create a list of dates that are associated with the Max value
instances. For a list of date instances corresponding to the Min value
instances, the same setup with the rank formula modified to:

=RANK(B3,$B$3:$B$9,1)+COUNTIF($B$3:B3,B3)-1
  #5   Report Post  
Patrick White
 
Posts: n/a
Default

Mangesh

Thanks for this. Works great.


"mangesh_yadav"
wrote in message
news:mangesh_yadav.1q76am_1118048786.9146@excelfor um-nospam.com...

=OFFSET(B1,MATCH(MAX(B1:B10),B1:B10,0)-1,-1)
and
=OFFSET(B1,MATCH(MIN(B1:B10),B1:B10,0)-1,-1)

Mangesh


PS: if I double-posted, sorry.


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile:
http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=376706





  #6   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Thanks for the feedback.

Mangesh



"Patrick White" wrote in message
...
Mangesh

Thanks for this. Works great.


"mangesh_yadav"


wrote in message
news:mangesh_yadav.1q76am_1118048786.9146@excelfor um-nospam.com...

=OFFSET(B1,MATCH(MAX(B1:B10),B1:B10,0)-1,-1)
and
=OFFSET(B1,MATCH(MIN(B1:B10),B1:B10,0)-1,-1)

Mangesh


PS: if I double-posted, sorry.


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile:
http://www.excelforum.com/member.php...o&userid=10470
View this thread:

http://www.excelforum.com/showthread...hreadid=376706





  #7   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Are you sure? What happens if...

A1: 1-Jan-05
A2: 3-Jan-05
A3: 7-Feb-05
A4: 3-Mar-05
A5: 5-May-05

B1: 7
B2: 3
B3: 7
B4: 4
B5: 3

Patrick White wrote:
Mangesh

Thanks for this. Works great.


"mangesh_yadav"
wrote in message
news:mangesh_yadav.1q76am_1118048786.9146@excelfor um-nospam.com...

=OFFSET(B1,MATCH(MAX(B1:B10),B1:B10,0)-1,-1)
and
=OFFSET(B1,MATCH(MIN(B1:B10),B1:B10,0)-1,-1)

Mangesh


PS: if I double-posted, sorry.


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile:
http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=376706




  #8   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Hi Aladin,

The functions will obviously choose the first occurence of the max and
min. One can't help with it.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=376706

  #9   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

mangesh_yadav wrote:
Hi Aladin,

The functions will obviously choose the first occurence of the max and
min. One can't help with it.

Mangesh



At least two approaches, as I proposed, can: Pivot Tables and the
formula system I quoted.
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 checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
addition to my date formula...required Juco Excel Worksheet Functions 5 January 30th 05 11:48 AM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM
Formula with date constraints Warrior Pope Excel Worksheet Functions 1 January 28th 05 02:11 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 09:56 AM.

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"