#1   Report Post  
Andy Cohen
 
Posts: n/a
Default Problem Dates

I am trying to validate an excel spreadsheet which carries out functions on
dates. I have to come up with a comprehensive list of "problem dates" (such
as 29th Feb on a non-leap year) to check that the corect error message is
given.

Does such a list exist or does anyone know of these dates?

Andy
  #2   Report Post  
Rowan
 
Posts: n/a
Default

Hi Andy

Where is the date going to be entered? If it is going to be entered into
a cell on a spreadsheet then excel will know if the date is valid or
not. If, for example, the date is being entered in Cell A1 you could
have a formula in B1 something like this:
=IF(ISTEXT(A1),"That is not a valid date","")

If you enter 29/02/2005 in A1 the error message will show. If you enter
28/02/2005 B1 will be blank.

I hope this can get you started
Regards
Rowan

Andy Cohen wrote:
I am trying to validate an excel spreadsheet which carries out functions on
dates. I have to come up with a comprehensive list of "problem dates" (such
as 29th Feb on a non-leap year) to check that the corect error message is
given.

Does such a list exist or does anyone know of these dates?

Andy

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
filtering dates [email protected] Excel Worksheet Functions 3 June 20th 05 05:53 PM
Using dates for x-axis values as string instead of creating a scale cs_weirdo Charts and Charting in Excel 2 June 17th 05 12:20 AM
How do I get Excell to sort dates that range from 1800 to 1900's Smith295 New Users to Excel 1 February 22nd 05 06:20 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
Problem with date base units for x axis Peter Carr Charts and Charting in Excel 1 December 15th 04 09:11 AM


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