+ Reply to Thread
Results 1 to 4 of 4

"sumif" With Multiple Criteria!

  1. #1
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    298

    "sumif" With Multiple Criteria!

    hi

    can i sumup a full column list using "sumif", with more than one criteria, all based on a single coloum? for example i am having data in A1:C4

    60 80 70
    50 30 40
    20 40 70
    100 60 80

    what i want is the sum C1:C4 if either "A1>=50 or A4<100", likewise "A2=50 and A4=100"..and so on!

    help pl?

    -via135

  2. #2
    Pete
    Guest

    Re: "sumif" With Multiple Criteria!

    You don't need SUMIF( ) - try this:

    =IF(OR(A1>=50,A4<100),sum(C1:C4),IF(AND(A2=50,A4=100),sum(C1:C4),0))

    I don't know what you mean by "..and so on!"

    Hope this helps.

    Pete


  3. #3
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    298

    Sumif With Multiple Criterias!

    thks Pete!

    i had given only two examples of multiple criteria with two conditions. can i give any number of criterias with more than two conditions?..that's why i have mentioned "..and so on". that's all!

    -via135



    Quote Originally Posted by Pete
    You don't need SUMIF( ) - try this:

    =IF(OR(A1>=50,A4<100),sum(C1:C4),IF(AND(A2=50,A4=100),sum(C1:C4),0))

    I don't know what you mean by "..and so on!"

    Hope this helps.

    Pete

  4. #4
    Pete
    Guest

    Re: "sumif" With Multiple Criteria!

    The arrangement of functions shown above is referred to as "nesting",
    and there is a limit to the amount of nesting that Excel allows -
    maximum of 8 nested functions.

    Pete


+ 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