+ Reply to Thread
Results 1 to 5 of 5

Can you use two inequalities with the IF function ie IF 10<E5<20.

  1. #1
    CRICKETERRY
    Guest

    Can you use two inequalities with the IF function ie IF 10<E5<20.

    In EXCEL I know you can use the IF function with one inequality eg IF E9>8
    THEN....But can you make it do two inequalities at once eg if E9 is between
    100 and 200 THEN... Any help much appreciated

  2. #2
    Hari Prasadh
    Guest

    Re: Can you use two inequalities with the IF function ie IF 10<E5<20.

    Hi,

    One way

    =IF((E9>100)*(E9<200),TRUE,FALSE)

    You can use And, OR statement within IF.

    Thanks a lot,
    Hari
    India

    "CRICKETERRY" <[email protected]> wrote in message
    news:[email protected]...
    > In EXCEL I know you can use the IF function with one inequality eg IF E9>8
    > THEN....But can you make it do two inequalities at once eg if E9 is
    > between
    > 100 and 200 THEN... Any help much appreciated




  3. #3
    Bob Phillips
    Guest

    Re: Can you use two inequalities with the IF function ie IF 10<E5<20.

    =IF(AND(E9>=100,E9<=200), True,False)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "CRICKETERRY" <[email protected]> wrote in message
    news:[email protected]...
    > In EXCEL I know you can use the IF function with one inequality eg IF E9>8
    > THEN....But can you make it do two inequalities at once eg if E9 is

    between
    > 100 and 200 THEN... Any help much appreciated




  4. #4
    Cricketerry
    Guest

    Re: Can you use two inequalities with the IF function ie IF 10<E5

    Many thanks for taking the time to reply- I'm still learning! Terry Sealey

    "Hari Prasadh" wrote:

    > Hi,
    >
    > One way
    >
    > =IF((E9>100)*(E9<200),TRUE,FALSE)
    >
    > You can use And, OR statement within IF.
    >
    > Thanks a lot,
    > Hari
    > India
    >
    > "CRICKETERRY" <[email protected]> wrote in message
    > news:[email protected]...
    > > In EXCEL I know you can use the IF function with one inequality eg IF E9>8
    > > THEN....But can you make it do two inequalities at once eg if E9 is
    > > between
    > > 100 and 200 THEN... Any help much appreciated

    >
    >
    >


  5. #5
    Cricketerry
    Guest

    Re: Can you use two inequalities with the IF function ie IF 10<E5

    Many thanks for your reply. A great help. Terry Sealey

    "Bob Phillips" wrote:

    > =IF(AND(E9>=100,E9<=200), True,False)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "CRICKETERRY" <[email protected]> wrote in message
    > news:[email protected]...
    > > In EXCEL I know you can use the IF function with one inequality eg IF E9>8
    > > THEN....But can you make it do two inequalities at once eg if E9 is

    > between
    > > 100 and 200 THEN... Any help much appreciated

    >
    >
    >


+ 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