LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sgl
 
Posts: n/a
Default Find Maximum date

Brilliant! all formuals worked a treat and I thank you Ron and Bob for your
assistance and quick response
Regrads/sgl

"sgl" wrote:

I have the followinig three columns

Index DateFrom DateTo
1 28 Apr 04 28 Sep 04
2 28 Sep 04 28 Jan 05
3 28 Sep 04 29 Mar 05
4 29 Mar 05 28 Jul 05
5 28 Jul 05 30 Jun 06

I want to obtain the MAX date in the DateTo column that is nearest to 1 Jan
05 which value resides in cell A1. This value is the result of another
INDEX/MATCH formula. I have used the following formula (array Ctrl+Shift)
obtained from this Discussion Group

={MAX(IF(DateTo<=A1,Index,0))}

The result I get is 28 Sep 04 Index 1, whereas I want 28 Jan 05 with Index 2.

Many thanks to you all
Regards/sgl




 
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 a date in a list Leonard615 Excel Discussion (Misc queries) 7 May 10th 07 05:43 PM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
how can i find a specific date of a database reneabesmer Excel Discussion (Misc queries) 16 August 16th 05 11:45 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
find date in Col A corresponding to min value in Col B gregl Excel Worksheet Functions 15 November 19th 04 04:01 AM


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