+ Reply to Thread
Results 1 to 6 of 6

Multiple conditioning

  1. #1
    Registered User
    Join Date
    08-20-2005
    Posts
    60

    Multiple conditioning

    hi people,

    can somebody help me with multiple conditioning in SumIf and CountIf function..
    attached is a file which i need help with,
    if you see on top there are 4 heading(T1,T2,T3 and T4), each has two function below them(SumIf and CountIf), i need each to count or sum cells if two conditions are met, for example:

    if k11:20=t1 and E11:20=Auto then H11:20 should be summed.

    simmilar thing in countif function.

    thanks and regards
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Multiple conditioning

    Try:

    =SUMPRODUCT(--(K11:K803="T1"),--(E11:E803="Auto")) to count

    and

    =SUMPRODUCT(--(K11:K803="T1"),--(E11:E803="Auto"),H11:H803) to sum
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-20-2005
    Posts
    60

    Re: Multiple conditioning

    once again, this forum never stops amazing me.
    thanks a bunch

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Multiple conditioning

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Forum Contributor
    Join Date
    03-11-2009
    Location
    duke's
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Multiple conditioning

    Really i didnt get this formula..

    as ur instracations i put =SUMPRODUCT(--(K11:K803="T1"),--(E11:E803="Auto")) foumula but result its showing two.. really answer is only one

    tats y i am attching that file also..plz tell me exact formula for other cells also.

    i am waiitn for ur reply

    thank u
    Attached Files Attached Files

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Multiple conditioning

    you really should start a new thread but as this is related...
    you have put
    =SUMPRODUCT(--(K11:K803="T1")--(E11:E803="auto")) in d2
    it is missing a ","
    should read
    =SUMPRODUCT(--(K11:K803="T1"),--(E11:E803="auto"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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