+ Reply to Thread
Results 1 to 5 of 5

sum cells with criteria

  1. #1
    DAVID
    Guest

    sum cells with criteria

    I want to do something like sumif(A1:A100,"<5",B1:B100). But now instead of
    the constant 5 in the criteria I want to use a variable, means the value of
    the cell C1. How can i DO IT?

  2. #2
    Bob Phillips
    Guest

    Re: sum cells with criteria

    =SUMIF(A1:A100,"<"&C1,B1:B100)

    --

    HTH

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


    "DAVID" <[email protected]> wrote in message
    news:[email protected]...
    > I want to do something like sumif(A1:A100,"<5",B1:B100). But now instead

    of
    > the constant 5 in the criteria I want to use a variable, means the value

    of
    > the cell C1. How can i DO IT?




  3. #3
    William
    Guest

    Re: sum cells with criteria

    Hi David

    =SUMIF(A1:A100,"<"&C1,B1:B100)

    --
    XL2002
    Regards

    William

    [email protected]

    "DAVID" <[email protected]> wrote in message
    news:[email protected]...
    | I want to do something like sumif(A1:A100,"<5",B1:B100). But now instead
    of
    | the constant 5 in the criteria I want to use a variable, means the value
    of
    | the cell C1. How can i DO IT?




  4. #4
    DAVID
    Guest

    Re: sum cells with criteria

    Thanks a lot Bob!

    "Bob Phillips" wrote:

    > =SUMIF(A1:A100,"<"&C1,B1:B100)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "DAVID" <[email protected]> wrote in message
    > news:[email protected]...
    > > I want to do something like sumif(A1:A100,"<5",B1:B100). But now instead

    > of
    > > the constant 5 in the criteria I want to use a variable, means the value

    > of
    > > the cell C1. How can i DO IT?

    >
    >
    >


  5. #5
    DAVID
    Guest

    Re: sum cells with criteria

    Thank you as well, William!

    "William" wrote:

    > Hi David
    >
    > =SUMIF(A1:A100,"<"&C1,B1:B100)
    >
    > --
    > XL2002
    > Regards
    >
    > William
    >
    > [email protected]
    >
    > "DAVID" <[email protected]> wrote in message
    > news:[email protected]...
    > | I want to do something like sumif(A1:A100,"<5",B1:B100). But now instead
    > of
    > | the constant 5 in the criteria I want to use a variable, means the value
    > of
    > | the cell C1. How can i DO IT?
    >
    >
    >
    >


+ 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