Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default If formula

Hello,
I have a formula here and I don't understand why it doesn't work. The
situation is such. I have a cell A1 that has a specfic date in it. If this
cell is an exact date that I deem as true then I want it to place the year
2007. If not, then I want it to place the text no. My formula is such:

=IF(A1="12-31-2007","2007","No")

Unfortunately my formula is wrong because I continue to get a "No" answer
when the cell A1 is that exact date of 12-31-2007. When I put a "<=" into
the formula, it works. I don't understand. Can someone help?

Thanks,
Chris
 
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



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