Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How can I match a calculated date to closest date from a list?

I'm trying to match a calculated date to the next meeting date from a list of
meeting dates.

Any help greatly received

Thanks

David
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default How can I match a calculated date to closest date from a list?

=MATCH(myDate,Range(A1:A100,0)

will return the index in A1:A100 of the found value.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"David P" <David wrote in message
...
I'm trying to match a calculated date to the next meeting date from a list
of
meeting dates.

Any help greatly received

Thanks

David



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default How can I match a calculated date to closest date from a list?

Hi David

As Bob says, MATCH is probably your best bet. Assuming your meeting
dates are sorted in ascending order, then the following construct is
most likely to suit:

=MATCH(A1,$B$1:$B$100,-1)

where A1 houses your calculated date, B1:B100 holds your meeting dates,
and the -1 specifies a value equal to or the next higher value than
your calculated date (ie so the 'next' meeting date).

Hope this helps!

Richard


David P wrote:

I'm trying to match a calculated date to the next meeting date from a list of
meeting dates.

Any help greatly received

Thanks

David


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 can I match a random number with closest number from sequence? Matt Excel Worksheet Functions 4 August 3rd 06 01:22 AM
Is it possible to poulate a calendar from a calculated date deniseh Excel Discussion (Misc queries) 2 April 4th 06 11:31 AM
A end date and want to a calculated date from it with a % Not the sharperst tool in the shed! Excel Worksheet Functions 2 March 19th 06 09:17 PM
Excel 2003: Match one list against another and highlight differenc smithers2002 Excel Worksheet Functions 1 January 11th 05 03:22 PM
How can I sum information in a list with a date range? Dave Excel Worksheet Functions 2 November 23rd 04 08:17 PM


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

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"