+ Reply to Thread
Results 1 to 2 of 2

IF AND help!

  1. #1
    Registered User
    Join Date
    07-21-2006
    Posts
    5

    IF AND help!

    What's the formula for:

    If A1<=2 or A1>1 then B1
    If A>2 then C1
    If A<=1 then 0

    I assume it'll be an extensions of this formula which is missing the A1>2 part:

    IF(AND(A1<=2,A1>1),B1,0)

    Thanks a million!

  2. #2
    David Biddulph
    Guest

    Re: IF AND help!

    "acebrown" <[email protected]> wrote in
    message news:[email protected]...
    >
    > What's the formula for:
    >
    > If A1<=2 or A1>1 then B1
    > If A>2 then C1
    > If A<=1 then 0
    >
    > I assume it'll be an extensions of this formula which is missing the
    > A1>2 part:
    >
    > IF(AND(A1<=2,A1>1),B1,0)


    =IF(A1>2,C1,IF(A1>1,B1,0))
    assuming that your first condition was intended to be "and", not "or", and
    that where you said A in your 2nd & 3rd conditions you intended A1.
    --
    David Biddulph



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1