[mso] Excel 2000 Formula problem

  • From: "Robert Carneal" <carnealre@xxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 30 Mar 2007 22:56:43 -0600

Hello. I have a problem with a DATE assemblage formula that I am missing. I
get #VALUE! As the result.

Please assume:
A1=1932
B1=7
C1=20
And in D1 I have this formula:
=IF(AND(A1<>0,B1<>0,C1<>0),DATE(A1,B1,C1),"Check date")

Which I want to result in a display of 1932-07-20. It results in #VALUE!
Instead. Does my mistake pop out at anyone?

In another cell, I tried:
=DATE(1932,7,20)
and that works just fine. It shows 1932-07-20.

Yes, I know if the numbers were:
A1=1732
B1=7
C1=20
Instead, the date function would not work. I am working another way to
handle the dates before Microsoft's date birth.

Another question: In Excel 2000, is there a max tests I can put with AND ??
For example, could I use nine tests with AND?

Thank you.

Robert

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: