+ Reply to Thread
Results 1 to 4 of 4

sumif problem

  1. #1
    Registered User
    Join Date
    06-13-2006
    Posts
    5

    sumif problem

    is it possible to have muti-columes range in the sumif formula
    e.g =sumif(a1:c5,xxx,xxx)

    then have multiple criteria?
    e.g =sumif(xxx, first colum equals "a" & second colum >1000, xxx)

    how should i write it?

    thx

  2. #2
    Guest

    Re: sumif problem

    Hi

    You could do this using SUMPRODUCT:
    =SUMPRODUCT((A2:A100="criteria")*(B2:B100="some more")*(C2:C100))
    If you post exactly what you, we can help you. With SUMPRODUCT you can't use
    full columns as ranges (A:A) and the ranges must be the same size.
    There is some more information on this here:
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    Hope this helps.
    Andy.

    "vincent135" <[email protected]> wrote
    in message news:[email protected]...
    >
    > is it possible to have muti-columes range in the sumif formula
    > e.g =sumif(a1:c5,xxx,xxx)
    >
    > then have multiple criteria?
    > e.g =sumif(xxx, first colum equals "a" & second colum >1000, xxx)
    >
    > how should i write it?
    >
    > thx
    >
    >
    > --
    > vincent135
    > ------------------------------------------------------------------------
    > vincent135's Profile:
    > http://www.excelforum.com/member.php...o&userid=35373
    > View this thread: http://www.excelforum.com/showthread...hreadid=551836
    >




  3. #3
    Registered User
    Join Date
    06-13-2006
    Posts
    5
    thank you very much...great help

  4. #4
    Guest

    Re: sumif problem

    Thanks for the feedback, Vincent.

    Andy.

    "vincent135" <[email protected]> wrote
    in message news:[email protected]...
    >
    > thank you very much...great help
    >
    >
    > --
    > vincent135
    > ------------------------------------------------------------------------
    > vincent135's Profile:
    > http://www.excelforum.com/member.php...o&userid=35373
    > View this thread: http://www.excelforum.com/showthread...hreadid=551836
    >




+ 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