Re: Formula error...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jambruins (Jambruins_at_discussions.microsoft.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 13:57:02 -0800

that did work. Now I want the same thing but with an or function added to
the formula. Here is what my actual formula is but it doesn't work, it gives
me NL even if cell B2 is BOS or TOR or any of them:

=IF(OR(B2="BAL",B2="BOS",B2="NYY",B2="TB",B2="TOR",B2="CWS",B2="CLE",B2="DET",B2="KC",B2="MIN",B2="LAA",B2="OAK",B2="SEA",B2="TEX"),"AL","NL")

How should I enter this formula to have it work?
Thanks

"Peo Sjoblom" wrote:

> You might have a space in your formula, if this work you definitely have a
> space or something else
> not visible
>
> =IF(ISNUMBER(FIND("KC",B2)),"AL","NL")
>
>
> --
>
> Regards,
>
> Peo Sjoblom
>
>
> "Jambruins" <Jambruins@discussions.microsoft.com> wrote in message
> news:DC579DDB-7F49-476C-95FA-D0432DA97B4F@microsoft.com...
> > Cell B2 has a formula setup in it so it enters the team that is in a
> > different tab into it. I am trying to setup an if formula in cell A2 that
> > either puts an AL if true or NL if false. For example,
> >
> > Cell B2 says KC (which is from a formula setup to equal a cell in another
> > tab).
> > I type in cell A2 the following:
> > =if(B2="KC","AL","NL") and it gives me NL. If I override the formula in
> > cell B2 and just type in KC it works right and gives me AL. Any idea why
> it
> > doesn't work when the formula produces KC? Thank you.
>
>
>



Relevant Pages

  • Re: matching month and year column.
    ... Regards, ... I'm trying to match a particular end of week day like 8-Dec-06 from one tab to Dec-06 of another tab. ... They are in excel date format, ... "Peo Sjoblom" wrote: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: sumif less than 11/30/2005
    ... Regards, ... Peo Sjoblom ... > I need to make a formula which will add all items in another tab which are ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Allowing for more than 15 digits when downloading from another source
    ... Then back to excel and rightclick|paste special. ... > "Peo Sjoblom" wrote in message ... >> in step 3 you can select text under column data format. ...
    (microsoft.public.excel.misc)
  • Re: Converting and sorting US dates into European format?
    ... will default to date format when using the DATE function just select the ... > Best regards, ... >> Peo Sjoblom ... >>> always like the double digit months and dates. ...
    (microsoft.public.excel)
  • Re: MIN function
    ... > in Verified column L where the values in Verified column A fall in the ... >> Regards, ... >> Peo Sjoblom ... >>> criteria. ...
    (microsoft.public.excel)