[mso] Re: Limitation of ORs, Excel XP

  • From: Wilson Baptista Junior <wilson@xxxxxxxxxx>
  • To: mso@xxxxxxxxxxxxx
  • Date: Fri, 30 Jul 2004 10:03:23 -0300

Hi Robert,
from Excel 2K help:
------------------------------------------------
OR(logical1,logical2,...)

Logical1,logical2,...   are 1 to 30 conditions you want to test that can be 
either TRUE or FALSE.
------------------------------------------------
So, at least on Excel 2K, "OR" seems to be limited to 30 conditions.
I have never tested this limit, though.
BTW, get used to looking at Excel Help when you try something new, 
sometimes it helps to understand Excel commands even when you don't have a 
specific question.
Best,
Wilson

At 01:15 30/7/2004, Robert Carneal wrote:
>Does anyone know how many statements and OR statement can handle? I am
>mindful of the limitation of 7 embedded IFs, so I figure there is a
>limit to the Ors.
>
>I am looking for a better way, but right now I am on 59 statements for
>OR and still going. I have not actually tried the 59 yet, but I am
>looking for a simpler way. Right now I have:
>
>=if(OR(D1=5,D1=8, D1=16, D1=17, D1=27, <so on...>),"Date Correct","
>Problem")
>
>and it is a monstrous statement.
>
>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: