Hi 2rrs!
Definitely the best way!
1. It isn't a string date, so you don't hit the Regional Settings
problems.
2. It gives greater ease of amending the date without screwing up the
formula.
In passing. I find it a retrograde step that Help on date functions
omits the warnings on string dates that were given in Excel 2002.
Retrograde? Yes! We have gone backwards to 2000 and before. It's made
worse because in many of the Help Examples on Dates and other
functions they use String dates. No wonder people outside the US get
problems.
You can use a string date form but it has to be one of the
unequivocally recognised forms:
12 January 2002
12-January-2002
12/January/2002
12 Jan 2002
12-Jan-2002
12/Jan/2002
2002-01-12
2002/01/12
2002/1/12
Note that all use 4 digit years and prevent probs if some darn fools
been at the double digit year interpretation. The 7th one is the
ISO2000 approved separated form.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
[email protected]
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.