#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Date trouble

cell A2 has the date 3/9/2007

When I test the following formula - =(A2+45)=4/27/2007 I get True, but I
should get false.

AlSO, when I put in =4/23/2007<4/27/2007 I get false. Both expressions
should evaluate to true.

What is going on?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Date trouble

Carl,

If you highlight the 4/27/2007 of your formula and press F9 you will see
that it equates to 0.0000738157190573733 which is 4 divided by 27 divided by
2007.

Try enclosing your date in quotes

=(A2+45)="4/27/2007"

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Carl Gross" wrote in message
...
cell A2 has the date 3/9/2007

When I test the following formula - =(A2+45)=4/27/2007 I get True, but I
should get false.

AlSO, when I put in =4/23/2007<4/27/2007 I get false. Both expressions
should evaluate to true.

What is going on?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Date trouble

(A2+45)=--"4/27/2007"


"Sandy Mann" wrote:

Carl,

If you highlight the 4/27/2007 of your formula and press F9 you will see
that it equates to 0.0000738157190573733 which is 4 divided by 27 divided by
2007.

Try enclosing your date in quotes

=(A2+45)="4/27/2007"

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Carl Gross" wrote in message
...
cell A2 has the date 3/9/2007

When I test the following formula - =(A2+45)=4/27/2007 I get True, but I
should get false.

AlSO, when I put in =4/23/2007<4/27/2007 I get false. Both expressions
should evaluate to true.

What is going on?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Date trouble

how bout this

=(A2+45)=value("4/27/2007")

Esteban

"Teethless mama" wrote:

(A2+45)=--"4/27/2007"


"Sandy Mann" wrote:

Carl,

If you highlight the 4/27/2007 of your formula and press F9 you will see
that it equates to 0.0000738157190573733 which is 4 divided by 27 divided by
2007.

Try enclosing your date in quotes

=(A2+45)="4/27/2007"

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Carl Gross" wrote in message
...
cell A2 has the date 3/9/2007

When I test the following formula - =(A2+45)=4/27/2007 I get True, but I
should get false.

AlSO, when I put in =4/23/2007<4/27/2007 I get false. Both expressions
should evaluate to true.

What is going on?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Date trouble

"Teethless mama" wrote in message
...
(A2+45)=--"4/27/2007"

You're quite correct. I coiuld have sworn that I got a TRUE as well as a
FALSE when I tetsed it.

Thanks for the catch.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


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
Date trouble BoniM Excel Worksheet Functions 0 January 10th 07 12:53 AM
Trouble formatting date geordy67 Excel Worksheet Functions 6 July 27th 06 02:30 AM
Trouble formatting Date data LB Charts and Charting in Excel 1 May 1st 06 12:11 PM
Excel date format trouble michaelberrier Excel Discussion (Misc queries) 2 April 21st 06 05:21 AM
trouble with date dada Excel Worksheet Functions 1 July 3rd 05 06:07 AM


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

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"