[mso] Anyone see the error? (Excel XP)

  • From: "Robert Carneal" <carnealre@xxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Mon, 26 Jul 2004 16:36:48 -0500

If B15 contains "1950-12-20" in text, and D15 contains:
=IF(OR(ISERROR(AND(MOD(VALUE((LEFT(B15,4))),4)=0,MOD(VALUE((LEFT(B15,4))
),100)<>0)),ISRROR(MOD(VALUE((LEFT(B15,4))),400)=0)),"Y","N")

Does anyone see my mistake, the error? It currently evaluates to #NAME?
error, and I didn't want that. Basically, I am trying to it to tell me
if the year is indeed a leap year. I discussed this before, and I
thought this was the formula suggested to me. I wrote it out on paper,
hoping the error would jump at me, but gracious, I do not see it.

Even if B15 were to contain "????-08-30" I would not want that "#NAME?"
I would prefer it display a simple "N".

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, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: