+ Reply to Thread
Results 1 to 25 of 25

coutif with 3 criteria including brackets

  1. #1
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    Ray,

    I am not quite sure what you were doing, but is this what you want


    =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))


    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello
    >
    > I try to to use 3 critéria in a formula with the Countif function.

    Actually
    > two of them represent a bracket.
    > For the calcul of the bracket I found the good result by using :
    > =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > where I am in trouble is when I try to add the third criterion in my

    formula
    > =countif(D4:D2337;"yes")
    > I tried those math operators but none of them works +, -, *
    >
    > Do you have an idea ?
    > Thanks
    > Ray
    >
    >




  2. #2
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for your answer Bob,
    I am going to try this formula right away .
    One thing, I don't understand why you used the "--" in the formula.
    Could you tell me please ,
    Thanks




    "Bob Phillips" <[email protected]> a écrit dans le message
    de news: [email protected]...
    > Ray,
    >
    > I am not quite sure what you were doing, but is this what you want
    >
    >
    > =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello
    >>
    >> I try to to use 3 critéria in a formula with the Countif function.

    > Actually
    >> two of them represent a bracket.
    >> For the calcul of the bracket I found the good result by using :
    >> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >> where I am in trouble is when I try to add the third criterion in my

    > formula
    >> =countif(D4:D2337;"yes")
    >> I tried those math operators but none of them works +, -, *
    >>
    >> Do you have an idea ?
    >> Thanks
    >> Ray
    >>
    >>

    >
    >




  3. #3
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Hello Bob
    I have just tried this formula and it works fine
    Thank you very much.
    But I still don't see why you use the "--" in the formula
    Thanks in deed
    Ray

    "Ray" <[email protected]> a écrit dans le message de news:
    [email protected]...
    > Thanks for your answer Bob,
    > I am going to try this formula right away .
    > One thing, I don't understand why you used the "--" in the formula.
    > Could you tell me please ,
    > Thanks
    >
    >
    >
    >
    > "Bob Phillips" <[email protected]> a écrit dans le message
    > de news: [email protected]...
    >> Ray,
    >>
    >> I am not quite sure what you were doing, but is this what you want
    >>
    >>
    >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>
    >>
    >> --
    >>
    >> HTH
    >>
    >> RP
    >> (remove nothere from the email address if mailing direct)
    >>
    >>
    >> "Ray" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hello
    >>>
    >>> I try to to use 3 critéria in a formula with the Countif function.

    >> Actually
    >>> two of them represent a bracket.
    >>> For the calcul of the bracket I found the good result by using :
    >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>> where I am in trouble is when I try to add the third criterion in my

    >> formula
    >>> =countif(D4:D2337;"yes")
    >>> I tried those math operators but none of them works +, -, *
    >>>
    >>> Do you have an idea ?
    >>> Thanks
    >>> Ray
    >>>
    >>>

    >>
    >>

    >
    >




  4. #4
    Lewis Clark
    Guest

    Re: coutif with 3 criteria including brackets

    The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    turn true/false into 1/0, which allows doing the math.

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    >> Thanks for your answer Bob,
    >> I am going to try this formula right away .
    >> One thing, I don't understand why you used the "--" in the formula.
    >> Could you tell me please ,
    >> Thanks
    >>
    >>
    >>
    >>
    >> "Bob Phillips" <[email protected]> a écrit dans le
    >> message de news: [email protected]...
    >>> Ray,
    >>>
    >>> I am not quite sure what you were doing, but is this what you want
    >>>
    >>>
    >>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>
    >>>
    >>> --
    >>>
    >>> HTH
    >>>
    >>> RP
    >>> (remove nothere from the email address if mailing direct)
    >>>
    >>>
    >>> "Ray" <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Hello
    >>>>
    >>>> I try to to use 3 critéria in a formula with the Countif function.
    >>> Actually
    >>>> two of them represent a bracket.
    >>>> For the calcul of the bracket I found the good result by using :
    >>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>> where I am in trouble is when I try to add the third criterion in my
    >>> formula
    >>>> =countif(D4:D2337;"yes")
    >>>> I tried those math operators but none of them works +, -, *
    >>>>
    >>>> Do you have an idea ?
    >>>> Thanks
    >>>> Ray
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  5. #5
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for this explaination Lewis
    Ray
    "Lewis Clark" <lewis_clark_644 @ yahoo.com> a écrit dans le message de news:
    8xEOe.5357$Hi.951@trnddc04...
    > The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    > turn true/false into 1/0, which allows doing the math.
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello Bob
    >> I have just tried this formula and it works fine
    >> Thank you very much.
    >> But I still don't see why you use the "--" in the formula
    >> Thanks in deed
    >> Ray
    >>
    >> "Ray" <[email protected]> a écrit dans le message de news:
    >> [email protected]...
    >>> Thanks for your answer Bob,
    >>> I am going to try this formula right away .
    >>> One thing, I don't understand why you used the "--" in the formula.
    >>> Could you tell me please ,
    >>> Thanks
    >>>
    >>>
    >>>
    >>>
    >>> "Bob Phillips" <[email protected]> a écrit dans le
    >>> message de news: [email protected]...
    >>>> Ray,
    >>>>
    >>>> I am not quite sure what you were doing, but is this what you want
    >>>>
    >>>>
    >>>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>>
    >>>>
    >>>> --
    >>>>
    >>>> HTH
    >>>>
    >>>> RP
    >>>> (remove nothere from the email address if mailing direct)
    >>>>
    >>>>
    >>>> "Ray" <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Hello
    >>>>>
    >>>>> I try to to use 3 critéria in a formula with the Countif function.
    >>>> Actually
    >>>>> two of them represent a bracket.
    >>>>> For the calcul of the bracket I found the good result by using :
    >>>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>>> where I am in trouble is when I try to add the third criterion in my
    >>>> formula
    >>>>> =countif(D4:D2337;"yes")
    >>>>> I tried those math operators but none of them works +, -, *
    >>>>>
    >>>>> Do you have an idea ?
    >>>>> Thanks
    >>>>> Ray
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  6. #6
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    See http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    > > Thanks for your answer Bob,
    > > I am going to try this formula right away .
    > > One thing, I don't understand why you used the "--" in the formula.
    > > Could you tell me please ,
    > > Thanks
    > >
    > >
    > >
    > >
    > > "Bob Phillips" <[email protected]> a écrit dans le

    message
    > > de news: [email protected]...
    > >> Ray,
    > >>
    > >> I am not quite sure what you were doing, but is this what you want
    > >>
    > >>
    > >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    > >>
    > >>
    > >> --
    > >>
    > >> HTH
    > >>
    > >> RP
    > >> (remove nothere from the email address if mailing direct)
    > >>
    > >>
    > >> "Ray" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >>> Hello
    > >>>
    > >>> I try to to use 3 critéria in a formula with the Countif function.
    > >> Actually
    > >>> two of them represent a bracket.
    > >>> For the calcul of the bracket I found the good result by using :
    > >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > >>> where I am in trouble is when I try to add the third criterion in my
    > >> formula
    > >>> =countif(D4:D2337;"yes")
    > >>> I tried those math operators but none of them works +, -, *
    > >>>
    > >>> Do you have an idea ?
    > >>> Thanks
    > >>> Ray
    > >>>
    > >>>
    > >>
    > >>

    > >
    > >

    >
    >




  7. #7
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for this explaination Lewis
    Ray
    "Lewis Clark" <lewis_clark_644 @ yahoo.com> a écrit dans le message de news:
    8xEOe.5357$Hi.951@trnddc04...
    > The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    > turn true/false into 1/0, which allows doing the math.
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello Bob
    >> I have just tried this formula and it works fine
    >> Thank you very much.
    >> But I still don't see why you use the "--" in the formula
    >> Thanks in deed
    >> Ray
    >>
    >> "Ray" <[email protected]> a écrit dans le message de news:
    >> [email protected]...
    >>> Thanks for your answer Bob,
    >>> I am going to try this formula right away .
    >>> One thing, I don't understand why you used the "--" in the formula.
    >>> Could you tell me please ,
    >>> Thanks
    >>>
    >>>
    >>>
    >>>
    >>> "Bob Phillips" <[email protected]> a écrit dans le
    >>> message de news: [email protected]...
    >>>> Ray,
    >>>>
    >>>> I am not quite sure what you were doing, but is this what you want
    >>>>
    >>>>
    >>>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>>
    >>>>
    >>>> --
    >>>>
    >>>> HTH
    >>>>
    >>>> RP
    >>>> (remove nothere from the email address if mailing direct)
    >>>>
    >>>>
    >>>> "Ray" <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Hello
    >>>>>
    >>>>> I try to to use 3 critéria in a formula with the Countif function.
    >>>> Actually
    >>>>> two of them represent a bracket.
    >>>>> For the calcul of the bracket I found the good result by using :
    >>>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>>> where I am in trouble is when I try to add the third criterion in my
    >>>> formula
    >>>>> =countif(D4:D2337;"yes")
    >>>>> I tried those math operators but none of them works +, -, *
    >>>>>
    >>>>> Do you have an idea ?
    >>>>> Thanks
    >>>>> Ray
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  8. #8
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    See http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    > > Thanks for your answer Bob,
    > > I am going to try this formula right away .
    > > One thing, I don't understand why you used the "--" in the formula.
    > > Could you tell me please ,
    > > Thanks
    > >
    > >
    > >
    > >
    > > "Bob Phillips" <[email protected]> a écrit dans le

    message
    > > de news: [email protected]...
    > >> Ray,
    > >>
    > >> I am not quite sure what you were doing, but is this what you want
    > >>
    > >>
    > >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    > >>
    > >>
    > >> --
    > >>
    > >> HTH
    > >>
    > >> RP
    > >> (remove nothere from the email address if mailing direct)
    > >>
    > >>
    > >> "Ray" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >>> Hello
    > >>>
    > >>> I try to to use 3 critéria in a formula with the Countif function.
    > >> Actually
    > >>> two of them represent a bracket.
    > >>> For the calcul of the bracket I found the good result by using :
    > >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > >>> where I am in trouble is when I try to add the third criterion in my
    > >> formula
    > >>> =countif(D4:D2337;"yes")
    > >>> I tried those math operators but none of them works +, -, *
    > >>>
    > >>> Do you have an idea ?
    > >>> Thanks
    > >>> Ray
    > >>>
    > >>>
    > >>
    > >>

    > >
    > >

    >
    >




  9. #9
    Lewis Clark
    Guest

    Re: coutif with 3 criteria including brackets

    The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    turn true/false into 1/0, which allows doing the math.

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    >> Thanks for your answer Bob,
    >> I am going to try this formula right away .
    >> One thing, I don't understand why you used the "--" in the formula.
    >> Could you tell me please ,
    >> Thanks
    >>
    >>
    >>
    >>
    >> "Bob Phillips" <[email protected]> a écrit dans le
    >> message de news: [email protected]...
    >>> Ray,
    >>>
    >>> I am not quite sure what you were doing, but is this what you want
    >>>
    >>>
    >>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>
    >>>
    >>> --
    >>>
    >>> HTH
    >>>
    >>> RP
    >>> (remove nothere from the email address if mailing direct)
    >>>
    >>>
    >>> "Ray" <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Hello
    >>>>
    >>>> I try to to use 3 critéria in a formula with the Countif function.
    >>> Actually
    >>>> two of them represent a bracket.
    >>>> For the calcul of the bracket I found the good result by using :
    >>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>> where I am in trouble is when I try to add the third criterion in my
    >>> formula
    >>>> =countif(D4:D2337;"yes")
    >>>> I tried those math operators but none of them works +, -, *
    >>>>
    >>>> Do you have an idea ?
    >>>> Thanks
    >>>> Ray
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  10. #10
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Hello Bob
    I have just tried this formula and it works fine
    Thank you very much.
    But I still don't see why you use the "--" in the formula
    Thanks in deed
    Ray

    "Ray" <[email protected]> a écrit dans le message de news:
    [email protected]...
    > Thanks for your answer Bob,
    > I am going to try this formula right away .
    > One thing, I don't understand why you used the "--" in the formula.
    > Could you tell me please ,
    > Thanks
    >
    >
    >
    >
    > "Bob Phillips" <[email protected]> a écrit dans le message
    > de news: [email protected]...
    >> Ray,
    >>
    >> I am not quite sure what you were doing, but is this what you want
    >>
    >>
    >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>
    >>
    >> --
    >>
    >> HTH
    >>
    >> RP
    >> (remove nothere from the email address if mailing direct)
    >>
    >>
    >> "Ray" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hello
    >>>
    >>> I try to to use 3 critéria in a formula with the Countif function.

    >> Actually
    >>> two of them represent a bracket.
    >>> For the calcul of the bracket I found the good result by using :
    >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>> where I am in trouble is when I try to add the third criterion in my

    >> formula
    >>> =countif(D4:D2337;"yes")
    >>> I tried those math operators but none of them works +, -, *
    >>>
    >>> Do you have an idea ?
    >>> Thanks
    >>> Ray
    >>>
    >>>

    >>
    >>

    >
    >




  11. #11
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for your answer Bob,
    I am going to try this formula right away .
    One thing, I don't understand why you used the "--" in the formula.
    Could you tell me please ,
    Thanks




    "Bob Phillips" <[email protected]> a écrit dans le message
    de news: [email protected]...
    > Ray,
    >
    > I am not quite sure what you were doing, but is this what you want
    >
    >
    > =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello
    >>
    >> I try to to use 3 critéria in a formula with the Countif function.

    > Actually
    >> two of them represent a bracket.
    >> For the calcul of the bracket I found the good result by using :
    >> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >> where I am in trouble is when I try to add the third criterion in my

    > formula
    >> =countif(D4:D2337;"yes")
    >> I tried those math operators but none of them works +, -, *
    >>
    >> Do you have an idea ?
    >> Thanks
    >> Ray
    >>
    >>

    >
    >




  12. #12
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    Ray,

    I am not quite sure what you were doing, but is this what you want


    =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))


    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello
    >
    > I try to to use 3 critéria in a formula with the Countif function.

    Actually
    > two of them represent a bracket.
    > For the calcul of the bracket I found the good result by using :
    > =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > where I am in trouble is when I try to add the third criterion in my

    formula
    > =countif(D4:D2337;"yes")
    > I tried those math operators but none of them works +, -, *
    >
    > Do you have an idea ?
    > Thanks
    > Ray
    >
    >




  13. #13
    Lewis Clark
    Guest

    Re: coutif with 3 criteria including brackets

    The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    turn true/false into 1/0, which allows doing the math.

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    >> Thanks for your answer Bob,
    >> I am going to try this formula right away .
    >> One thing, I don't understand why you used the "--" in the formula.
    >> Could you tell me please ,
    >> Thanks
    >>
    >>
    >>
    >>
    >> "Bob Phillips" <[email protected]> a écrit dans le
    >> message de news: [email protected]...
    >>> Ray,
    >>>
    >>> I am not quite sure what you were doing, but is this what you want
    >>>
    >>>
    >>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>
    >>>
    >>> --
    >>>
    >>> HTH
    >>>
    >>> RP
    >>> (remove nothere from the email address if mailing direct)
    >>>
    >>>
    >>> "Ray" <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Hello
    >>>>
    >>>> I try to to use 3 critéria in a formula with the Countif function.
    >>> Actually
    >>>> two of them represent a bracket.
    >>>> For the calcul of the bracket I found the good result by using :
    >>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>> where I am in trouble is when I try to add the third criterion in my
    >>> formula
    >>>> =countif(D4:D2337;"yes")
    >>>> I tried those math operators but none of them works +, -, *
    >>>>
    >>>> Do you have an idea ?
    >>>> Thanks
    >>>> Ray
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  14. #14
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for this explaination Lewis
    Ray
    "Lewis Clark" <lewis_clark_644 @ yahoo.com> a écrit dans le message de news:
    8xEOe.5357$Hi.951@trnddc04...
    > The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    > turn true/false into 1/0, which allows doing the math.
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello Bob
    >> I have just tried this formula and it works fine
    >> Thank you very much.
    >> But I still don't see why you use the "--" in the formula
    >> Thanks in deed
    >> Ray
    >>
    >> "Ray" <[email protected]> a écrit dans le message de news:
    >> [email protected]...
    >>> Thanks for your answer Bob,
    >>> I am going to try this formula right away .
    >>> One thing, I don't understand why you used the "--" in the formula.
    >>> Could you tell me please ,
    >>> Thanks
    >>>
    >>>
    >>>
    >>>
    >>> "Bob Phillips" <[email protected]> a écrit dans le
    >>> message de news: [email protected]...
    >>>> Ray,
    >>>>
    >>>> I am not quite sure what you were doing, but is this what you want
    >>>>
    >>>>
    >>>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>>
    >>>>
    >>>> --
    >>>>
    >>>> HTH
    >>>>
    >>>> RP
    >>>> (remove nothere from the email address if mailing direct)
    >>>>
    >>>>
    >>>> "Ray" <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Hello
    >>>>>
    >>>>> I try to to use 3 critéria in a formula with the Countif function.
    >>>> Actually
    >>>>> two of them represent a bracket.
    >>>>> For the calcul of the bracket I found the good result by using :
    >>>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>>> where I am in trouble is when I try to add the third criterion in my
    >>>> formula
    >>>>> =countif(D4:D2337;"yes")
    >>>>> I tried those math operators but none of them works +, -, *
    >>>>>
    >>>>> Do you have an idea ?
    >>>>> Thanks
    >>>>> Ray
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  15. #15
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    See http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    > > Thanks for your answer Bob,
    > > I am going to try this formula right away .
    > > One thing, I don't understand why you used the "--" in the formula.
    > > Could you tell me please ,
    > > Thanks
    > >
    > >
    > >
    > >
    > > "Bob Phillips" <[email protected]> a écrit dans le

    message
    > > de news: [email protected]...
    > >> Ray,
    > >>
    > >> I am not quite sure what you were doing, but is this what you want
    > >>
    > >>
    > >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    > >>
    > >>
    > >> --
    > >>
    > >> HTH
    > >>
    > >> RP
    > >> (remove nothere from the email address if mailing direct)
    > >>
    > >>
    > >> "Ray" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >>> Hello
    > >>>
    > >>> I try to to use 3 critéria in a formula with the Countif function.
    > >> Actually
    > >>> two of them represent a bracket.
    > >>> For the calcul of the bracket I found the good result by using :
    > >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > >>> where I am in trouble is when I try to add the third criterion in my
    > >> formula
    > >>> =countif(D4:D2337;"yes")
    > >>> I tried those math operators but none of them works +, -, *
    > >>>
    > >>> Do you have an idea ?
    > >>> Thanks
    > >>> Ray
    > >>>
    > >>>
    > >>
    > >>

    > >
    > >

    >
    >




  16. #16
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Hello Bob
    I have just tried this formula and it works fine
    Thank you very much.
    But I still don't see why you use the "--" in the formula
    Thanks in deed
    Ray

    "Ray" <[email protected]> a écrit dans le message de news:
    [email protected]...
    > Thanks for your answer Bob,
    > I am going to try this formula right away .
    > One thing, I don't understand why you used the "--" in the formula.
    > Could you tell me please ,
    > Thanks
    >
    >
    >
    >
    > "Bob Phillips" <[email protected]> a écrit dans le message
    > de news: [email protected]...
    >> Ray,
    >>
    >> I am not quite sure what you were doing, but is this what you want
    >>
    >>
    >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>
    >>
    >> --
    >>
    >> HTH
    >>
    >> RP
    >> (remove nothere from the email address if mailing direct)
    >>
    >>
    >> "Ray" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hello
    >>>
    >>> I try to to use 3 critéria in a formula with the Countif function.

    >> Actually
    >>> two of them represent a bracket.
    >>> For the calcul of the bracket I found the good result by using :
    >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>> where I am in trouble is when I try to add the third criterion in my

    >> formula
    >>> =countif(D4:D2337;"yes")
    >>> I tried those math operators but none of them works +, -, *
    >>>
    >>> Do you have an idea ?
    >>> Thanks
    >>> Ray
    >>>
    >>>

    >>
    >>

    >
    >




  17. #17
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for your answer Bob,
    I am going to try this formula right away .
    One thing, I don't understand why you used the "--" in the formula.
    Could you tell me please ,
    Thanks




    "Bob Phillips" <[email protected]> a écrit dans le message
    de news: [email protected]...
    > Ray,
    >
    > I am not quite sure what you were doing, but is this what you want
    >
    >
    > =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello
    >>
    >> I try to to use 3 critéria in a formula with the Countif function.

    > Actually
    >> two of them represent a bracket.
    >> For the calcul of the bracket I found the good result by using :
    >> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >> where I am in trouble is when I try to add the third criterion in my

    > formula
    >> =countif(D4:D2337;"yes")
    >> I tried those math operators but none of them works +, -, *
    >>
    >> Do you have an idea ?
    >> Thanks
    >> Ray
    >>
    >>

    >
    >




  18. #18
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    Ray,

    I am not quite sure what you were doing, but is this what you want


    =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))


    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello
    >
    > I try to to use 3 critéria in a formula with the Countif function.

    Actually
    > two of them represent a bracket.
    > For the calcul of the bracket I found the good result by using :
    > =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > where I am in trouble is when I try to add the third criterion in my

    formula
    > =countif(D4:D2337;"yes")
    > I tried those math operators but none of them works +, -, *
    >
    > Do you have an idea ?
    > Thanks
    > Ray
    >
    >




  19. #19
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    See http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    > > Thanks for your answer Bob,
    > > I am going to try this formula right away .
    > > One thing, I don't understand why you used the "--" in the formula.
    > > Could you tell me please ,
    > > Thanks
    > >
    > >
    > >
    > >
    > > "Bob Phillips" <[email protected]> a écrit dans le

    message
    > > de news: [email protected]...
    > >> Ray,
    > >>
    > >> I am not quite sure what you were doing, but is this what you want
    > >>
    > >>
    > >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    > >>
    > >>
    > >> --
    > >>
    > >> HTH
    > >>
    > >> RP
    > >> (remove nothere from the email address if mailing direct)
    > >>
    > >>
    > >> "Ray" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >>> Hello
    > >>>
    > >>> I try to to use 3 critéria in a formula with the Countif function.
    > >> Actually
    > >>> two of them represent a bracket.
    > >>> For the calcul of the bracket I found the good result by using :
    > >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > >>> where I am in trouble is when I try to add the third criterion in my
    > >> formula
    > >>> =countif(D4:D2337;"yes")
    > >>> I tried those math operators but none of them works +, -, *
    > >>>
    > >>> Do you have an idea ?
    > >>> Thanks
    > >>> Ray
    > >>>
    > >>>
    > >>
    > >>

    > >
    > >

    >
    >




  20. #20
    Ray
    Guest

    coutif with 3 criteria including brackets

    Hello

    I try to to use 3 critéria in a formula with the Countif function. Actually
    two of them represent a bracket.
    For the calcul of the bracket I found the good result by using :
    =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    where I am in trouble is when I try to add the third criterion in my formula
    =countif(D4:D2337;"yes")
    I tried those math operators but none of them works +, -, *

    Do you have an idea ?
    Thanks
    Ray



  21. #21
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for this explaination Lewis
    Ray
    "Lewis Clark" <lewis_clark_644 @ yahoo.com> a écrit dans le message de news:
    8xEOe.5357$Hi.951@trnddc04...
    > The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    > turn true/false into 1/0, which allows doing the math.
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello Bob
    >> I have just tried this formula and it works fine
    >> Thank you very much.
    >> But I still don't see why you use the "--" in the formula
    >> Thanks in deed
    >> Ray
    >>
    >> "Ray" <[email protected]> a écrit dans le message de news:
    >> [email protected]...
    >>> Thanks for your answer Bob,
    >>> I am going to try this formula right away .
    >>> One thing, I don't understand why you used the "--" in the formula.
    >>> Could you tell me please ,
    >>> Thanks
    >>>
    >>>
    >>>
    >>>
    >>> "Bob Phillips" <[email protected]> a écrit dans le
    >>> message de news: [email protected]...
    >>>> Ray,
    >>>>
    >>>> I am not quite sure what you were doing, but is this what you want
    >>>>
    >>>>
    >>>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>>
    >>>>
    >>>> --
    >>>>
    >>>> HTH
    >>>>
    >>>> RP
    >>>> (remove nothere from the email address if mailing direct)
    >>>>
    >>>>
    >>>> "Ray" <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Hello
    >>>>>
    >>>>> I try to to use 3 critéria in a formula with the Countif function.
    >>>> Actually
    >>>>> two of them represent a bracket.
    >>>>> For the calcul of the bracket I found the good result by using :
    >>>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>>> where I am in trouble is when I try to add the third criterion in my
    >>>> formula
    >>>>> =countif(D4:D2337;"yes")
    >>>>> I tried those math operators but none of them works +, -, *
    >>>>>
    >>>>> Do you have an idea ?
    >>>>> Thanks
    >>>>> Ray
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  22. #22
    Lewis Clark
    Guest

    Re: coutif with 3 criteria including brackets

    The tests in the parentheses return TRUE or FALSE. The "--" makes Excel
    turn true/false into 1/0, which allows doing the math.

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello Bob
    > I have just tried this formula and it works fine
    > Thank you very much.
    > But I still don't see why you use the "--" in the formula
    > Thanks in deed
    > Ray
    >
    > "Ray" <[email protected]> a écrit dans le message de news:
    > [email protected]...
    >> Thanks for your answer Bob,
    >> I am going to try this formula right away .
    >> One thing, I don't understand why you used the "--" in the formula.
    >> Could you tell me please ,
    >> Thanks
    >>
    >>
    >>
    >>
    >> "Bob Phillips" <[email protected]> a écrit dans le
    >> message de news: [email protected]...
    >>> Ray,
    >>>
    >>> I am not quite sure what you were doing, but is this what you want
    >>>
    >>>
    >>> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>>
    >>>
    >>> --
    >>>
    >>> HTH
    >>>
    >>> RP
    >>> (remove nothere from the email address if mailing direct)
    >>>
    >>>
    >>> "Ray" <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Hello
    >>>>
    >>>> I try to to use 3 critéria in a formula with the Countif function.
    >>> Actually
    >>>> two of them represent a bracket.
    >>>> For the calcul of the bracket I found the good result by using :
    >>>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>>> where I am in trouble is when I try to add the third criterion in my
    >>> formula
    >>>> =countif(D4:D2337;"yes")
    >>>> I tried those math operators but none of them works +, -, *
    >>>>
    >>>> Do you have an idea ?
    >>>> Thanks
    >>>> Ray
    >>>>
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  23. #23
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Hello Bob
    I have just tried this formula and it works fine
    Thank you very much.
    But I still don't see why you use the "--" in the formula
    Thanks in deed
    Ray

    "Ray" <[email protected]> a écrit dans le message de news:
    [email protected]...
    > Thanks for your answer Bob,
    > I am going to try this formula right away .
    > One thing, I don't understand why you used the "--" in the formula.
    > Could you tell me please ,
    > Thanks
    >
    >
    >
    >
    > "Bob Phillips" <[email protected]> a écrit dans le message
    > de news: [email protected]...
    >> Ray,
    >>
    >> I am not quite sure what you were doing, but is this what you want
    >>
    >>
    >> =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >>
    >>
    >> --
    >>
    >> HTH
    >>
    >> RP
    >> (remove nothere from the email address if mailing direct)
    >>
    >>
    >> "Ray" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hello
    >>>
    >>> I try to to use 3 critéria in a formula with the Countif function.

    >> Actually
    >>> two of them represent a bracket.
    >>> For the calcul of the bracket I found the good result by using :
    >>> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >>> where I am in trouble is when I try to add the third criterion in my

    >> formula
    >>> =countif(D4:D2337;"yes")
    >>> I tried those math operators but none of them works +, -, *
    >>>
    >>> Do you have an idea ?
    >>> Thanks
    >>> Ray
    >>>
    >>>

    >>
    >>

    >
    >




  24. #24
    Ray
    Guest

    Re: coutif with 3 criteria including brackets

    Thanks for your answer Bob,
    I am going to try this formula right away .
    One thing, I don't understand why you used the "--" in the formula.
    Could you tell me please ,
    Thanks




    "Bob Phillips" <[email protected]> a écrit dans le message
    de news: [email protected]...
    > Ray,
    >
    > I am not quite sure what you were doing, but is this what you want
    >
    >
    > =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))
    >
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Ray" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hello
    >>
    >> I try to to use 3 critéria in a formula with the Countif function.

    > Actually
    >> two of them represent a bracket.
    >> For the calcul of the bracket I found the good result by using :
    >> =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    >> where I am in trouble is when I try to add the third criterion in my

    > formula
    >> =countif(D4:D2337;"yes")
    >> I tried those math operators but none of them works +, -, *
    >>
    >> Do you have an idea ?
    >> Thanks
    >> Ray
    >>
    >>

    >
    >




  25. #25
    Bob Phillips
    Guest

    Re: coutif with 3 criteria including brackets

    Ray,

    I am not quite sure what you were doing, but is this what you want


    =SUMPRODUCT(--(E4:E2337>=2);--(E4:E2337<=5);--(D4:D2337="yes"))


    --

    HTH

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


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > Hello
    >
    > I try to to use 3 critéria in a formula with the Countif function.

    Actually
    > two of them represent a bracket.
    > For the calcul of the bracket I found the good result by using :
    > =countif(E4:E2337;"<=2")-countif(E4:E2337;"<=5")
    > where I am in trouble is when I try to add the third criterion in my

    formula
    > =countif(D4:D2337;"yes")
    > I tried those math operators but none of them works +, -, *
    >
    > Do you have an idea ?
    > Thanks
    > Ray
    >
    >




+ 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