[mso] Re: Excel 2000 Formula problem
- From: Mike Clare <mjclare@xxxxxxxxxx>
- To: mso@xxxxxxxxxxxxx
- Date: Sat, 31 Mar 2007 12:45:52 -0400
Robert,
It works here for me too (but I'm using XL2003)
The #value error means that a function was expecting data of one form
(i.e. a number) and it got something else. Normally Excel is pretty
good about changing data from one form to another but obviously no in
your case.
So, to see which of your cells might not have the right format do a
series of changes to your formula.
like this
=IF(AND(1932<>0,B1<>0,C1<>0),DATE(1932,B1,C1),"Check date")
=IF(AND(1932<>0,7<>0,C1<>0),DATE(1932,7,C1),"Check date")
=IF(AND(1932<>0,7<>0,20<>0),DATE(1932,7,20),"Check date")
Make these changes one at a time and it will show you which cell has the
wrong data format behind it
good luck
Mike Clare
Robert Carneal wrote:
> 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).
> http://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
> *************************************************************
>
>
>
>
*************************************************************
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).
http://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
*************************************************************
- References:
- [mso] Excel 2000 Formula problem
- From: Robert Carneal
Other related posts:
- » [mso] Excel 2000 Formula problem
- » [mso] Re: Excel 2000 Formula problem
- » [mso] Re: Excel 2000 Formula problem
- » [mso] Re: Excel 2000 Formula problem
- » [mso] Re: Excel 2000 Formula problem
- » [mso] Re: Excel 2000 Formula problem
- [mso] Excel 2000 Formula problem
- From: Robert Carneal