LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Help Needed w/ IF statement using dates

Hi Richard,

The general (and always safest) is to use:
=Date(2005,8,5)
(thats 5th Aug 2005)

Mangesh




"Richard Buttrey" wrote in
message ...
On Fri, 5 Aug 2005 01:25:34 -0500, mangesh_yadav
wrote:


Use:

=IF(TODAY()=DATEVALUE("8/5/2005"),TRUE,FALSE)

Mangesh



Unless of course you're working with UK (& European?) style dates,
where the 5th August is generally shown as 5/8/2005.

Anyone know a general solution which would presumably use the system
locale somewhere in the formula, or is this only possible using VBA
code?

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________



 
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
IF AND Statement Needed Daren Excel Worksheet Functions 2 March 26th 09 08:30 PM
Help needed would this be an IF statement pano Excel Worksheet Functions 5 February 11th 07 06:37 PM
If statement ... help needed. parsonsamie Excel Worksheet Functions 3 December 14th 06 12:43 AM
Another IF statement needed Connie Martin Excel Worksheet Functions 4 November 16th 06 08:56 PM
IF STATEMENT HELP NEEDED!!! Excel Dummy Excel Discussion (Misc queries) 2 December 30th 05 07:02 PM


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