+ Reply to Thread
Results 1 to 69 of 69

SumIf Criteria Matches

  1. #1
    Registered User
    Join Date
    04-03-2004
    Posts
    1

    SumIf Criteria Matches

    I have two problems.
    First when I am doing a sumif formula, if I type =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of whatever cells contain a number greater than 5. However if I want A1 to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I get a value of 0. I don't know what is wrong.
    Second I want to SumIf the criteria in A2:M2 is within 10% plus or minus of the value I type in A1. I don't know how to ask it to sum numbers that are within a plus or minus 10% of A1 or plus or minus 10% of 5.

  2. #2
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  4. #4
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  5. #5
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  6. #6
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  7. #7
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  8. #8
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  9. #9
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  10. #10
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  11. #11
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  12. #12
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  13. #13
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  14. #14
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  15. #15
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  16. #16
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  17. #17
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  18. #18
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  19. #19
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  20. #20
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  21. #21
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  22. #22
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  23. #23
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  24. #24
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  25. #25
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  26. #26
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  27. #27
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  28. #28
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  29. #29
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  30. #30
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  31. #31
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  32. #32
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  33. #33
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  34. #34
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  35. #35
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  36. #36
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  37. #37
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  38. #38
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  39. #39
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  40. #40
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  41. #41
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  42. #42
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  43. #43
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  44. #44
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  45. #45
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  46. #46
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  47. #47
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  48. #48
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  49. #49
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  50. #50
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  51. #51
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  52. #52
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  53. #53
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  54. #54
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  55. #55
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  56. #56
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  57. #57
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  58. #58
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  59. #59
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  60. #60
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  61. #61
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  62. #62
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  63. #63
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  64. #64
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




  65. #65
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  66. #66
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    =SumIf(A2:M2,">"&A1)

    and

    =SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    --

    HTH

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


    "Debbie Dies" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile:

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




  67. #67
    Harlan Grove
    Guest

    Re: SumIf Criteria Matches

    "Bob Phillips" <[email protected]> wrote...
    ....
    >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    ....

    Or

    =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)



  68. #68
    Duke Carey
    Guest

    RE: SumIf Criteria Matches

    Maybe

    =SumIf(A2:M2,"<"&1.1*A1,A2:M2) -SumIf(A2:M2,"<"&.9*A1,A2:M2)

    In other words,
    1) the sum of everything less than 110% of A1
    2) MINUS everything less than 90% of A1

    Alternatively:

    =SUMPRODUCT(--(A2:M2>(.9*a1)),--(A2:M2<(1.1*a1)),a2:m2)



    "Debbie Dies" wrote:

    >
    > I have two problems.
    > First when I am doing a sumif formula, if I type
    > =Sumif(A2:M2,">5",A2:M2) then my value is returned for the sum of
    > whatever cells contain a number greater than 5. However if I want A1
    > to have the value to look for and I type =SumIf(A2:M2,">A1",A2:M2) I
    > get a value of 0. I don't know what is wrong.
    > Second I want to SumIf the criteria in A2:M2 is within 10% plus or
    > minus of the value I type in A1. I don't know how to ask it to sum
    > numbers that are within a plus or minus 10% of A1 or plus or minus 10%
    > of 5.
    >
    >
    > --
    > Debbie Dies
    > ------------------------------------------------------------------------
    > Debbie Dies's Profile: http://www.excelforum.com/member.php...fo&userid=7894
    > View this thread: http://www.excelforum.com/showthread...hreadid=391932
    >
    >


  69. #69
    Bob Phillips
    Guest

    Re: SumIf Criteria Matches

    Yep, I buy that.

    --

    HTH

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


    "Harlan Grove" <[email protected]> wrote in message
    news:%[email protected]...
    > "Bob Phillips" <[email protected]> wrote...
    > ...
    > >=SUMPRODUCT(--(A2:M2>A1*90%),--(A2:M2<=A1*110%),A2:M2)

    > ...
    >
    > Or
    >
    > =SUMPRODUCT(--(ABS(A2:M2/A1-1)<=0.1),A2:M2)
    >
    >




+ 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