HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Microsoft Office

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-07-2008, 06:38 PM
sdsteve
 
Posts: n/a
Default Bug in Excel

I'm trying to test dates in Excel to see if they're before the end of 2007,
so I tried
A1<=12/31/2007 and it returns FALSE even when the date in A1 is before
12/31/2007.

So I put the date 12/31/2007 in a separate cell, D1, and the formula =A1<=D1
returns TRUE, as it should.

What gives? Is there something magical about entering the date 12/31/2007
inside the formula compared to in a separate cell?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...ic.office.misc
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 02-07-2008, 06:46 PM
Carey Frisch [MVP]
 
Posts: n/a
Default Re: Bug in Excel

The proper newsgroup for issues with Microsoft Excel
is the Excel newsgroup:
http://www.microsoft.com/office/comm...&lang=en&cr=US

--
Carey Frisch
Microsoft MVP
Windows Shell/User

---------------------------------------------------------------

"sdsteve" wrote:

I'm trying to test dates in Excel to see if they're before the end of 2007,
so I tried
A1<=12/31/2007 and it returns FALSE even when the date in A1 is before
12/31/2007.

So I put the date 12/31/2007 in a separate cell, D1, and the formula =A1<=D1
returns TRUE, as it should.

What gives? Is there something magical about entering the date 12/31/2007
inside the formula compared to in a separate cell?


Reply With Quote
  #3  
Old 02-09-2008, 02:11 AM
Val
 
Posts: n/a
Default Re: Bug in Excel

Nope. Try any other date, you'll probably see same results.

Try the formula =(A1 <= DATEVALUE("12/31/2007"))
so that you're actually comparing apples to apples.


"sdsteve" <sdsteve@discussions.microsoft.com> wrote in message
news:78B3ECAB-59F4-4DC6-A24F-A947CDB8D880@microsoft.com...
I'm trying to test dates in Excel to see if they're before the end of 2007,
so I tried
A1<=12/31/2007 and it returns FALSE even when the date in A1 is before
12/31/2007.

So I put the date 12/31/2007 in a separate cell, D1, and the formula =A1<=D1
returns TRUE, as it should.

What gives? Is there something magical about entering the date 12/31/2007
inside the formula compared to in a separate cell?


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007: General Mail Failure. Quit MS Excel, restart the syst briant97 Microsoft Office 6 01-30-2008 02:22 PM
Create xlt files (excel templates) using excel 2002 Monetto Microsoft Office 2 09-25-2007 10:53 PM
Can I replace Excel 2007 with Excel 97-2003 (in Office 2K7)? Walter Cohen Microsoft Office 9 08-19-2007 11:22 PM
Excel 2003 crashes using save as excel 97-excel 2003 & 5.0/95 .xls gitrinec Microsoft Office 2 04-16-2007 06:26 PM
Excel Documents Opening Blank Excel Window uggabugga Microsoft Office 2 04-05-2007 12:57 AM


All times are GMT. The time now is 05:37 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger