+ Reply to Thread
Results 1 to 8 of 8

condition - member of a group

  1. #1
    Registered User
    Join Date
    03-22-2004
    Location
    Arlington, VA
    Posts
    8

    condition - member of a group

    Hi.

    I want to make the condition of my if-then statement be whether a value is either 10,11, or 12. I can't find an "in" function or something like that.

    Can someone tell me how to do this?

    Thanks.

  2. #2
    Bob Phillips
    Guest

    Re: condition - member of a group

    =IF(OR(A1=10,A1=11,A1=12),...

    or

    =IF(AND(A1>=10,A1<=12),...

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:

    http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  3. #3
    Guest

    Re: condition - member of a group

    Hi

    In its simplest form, you could use this:
    =IF(OR(A2=10,A2=11,A2=12),"Yes","No")

    Hope this helps.
    Andy.

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  4. #4
    Bob Phillips
    Guest

    Re: condition - member of a group

    =IF(OR(A1=10,A1=11,A1=12),...

    or

    =IF(AND(A1>=10,A1<=12),...

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:

    http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  5. #5
    Guest

    Re: condition - member of a group

    Hi

    In its simplest form, you could use this:
    =IF(OR(A2=10,A2=11,A2=12),"Yes","No")

    Hope this helps.
    Andy.

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  6. #6
    Bob Phillips
    Guest

    Re: condition - member of a group

    =IF(OR(A1=10,A1=11,A1=12),...

    or

    =IF(AND(A1>=10,A1<=12),...

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:

    http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  7. #7
    Guest

    Re: condition - member of a group

    Hi

    In its simplest form, you could use this:
    =IF(OR(A2=10,A2=11,A2=12),"Yes","No")

    Hope this helps.
    Andy.

    "elbows" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi.
    >
    > I want to make the condition of my if-then statement be whether a value
    > is either 10,11, or 12. I can't find an "in" function or something like
    > that.
    >
    > Can someone tell me how to do this?
    >
    > Thanks.
    >
    >
    > --
    > elbows
    > ------------------------------------------------------------------------
    > elbows's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7449
    > View this thread: http://www.excelforum.com/showthread...hreadid=521772
    >




  8. #8
    Registered User
    Join Date
    03-22-2004
    Location
    Arlington, VA
    Posts
    8

    Thanks.

    Thanks. That helps.

+ 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