+ Reply to Thread
Results 1 to 6 of 6

Sumproduct formula:start to finish

  1. #1
    Registered User
    Join Date
    02-12-2008
    Posts
    45

    Sumproduct formula:start to finish

    I am looking for help with a formula here. I cant quite fit it altogether.

    I have a spreadsheet where we monitor the status of cases. When it is completed we change it to “case complete”.

    Now I want to monitor how long it takes from start to finish (as each case if from an external company) so we are looking to see the average for each company.

    Now first I only want to look at the case completed items but I don’t want to have to filter the spreadsheet.

    So to find the case completed items it is:

    =COUNTIF(K2:K200,"Case Complete")

    Now I want to find each case relating to each company so to do this I have:

    =COUNTIF(E1:E200,"Company 1")

    I have a column that says how many days it has been in the pipeline for so to add up all the company 1s I have

    =SUMPRODUCT(--($E$1:$E$200="Company 1"),$L$1:$L$200)

    Originally I copied all the case complete entries on to a new spreadsheet but I really want to do this from the one sheet so it is constantly being updated.

    So basically I want to first of all look for the “case complete” entries then look for the “company 1” and then add all them together.

    I hope this makes sense because it only just does for me! Any help would be great!!
    Cheers
    Last edited by Scotsman89; 07-14-2008 at 10:48 AM. Reason: Incorrect heading

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

    =SUMPRODUCT(--($K$2:$K$200="Case Complete"),--($E$1:$E$200="Company 1"),$L$1:$L$200)

    Also, please read our forum rules and amend your title according to Rule # 1
    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
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi,
    maybe a Pivot Table is what you are looking for

    Cheers

  4. #4
    Registered User
    Join Date
    02-12-2008
    Posts
    45
    Hi thanks for your reply.
    I am sorry i have not followed the rules, I tried to find the rules and regulations to change the title and could not see any. Perhaps you could point me in the right direction?

    I tried your suggestion but it just comes up with #value but i am sure that is not too far away. Anymore ideas?

    I would rather not use a pivot table as ideally i would like to use a formula.
    Thanks again.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902
    Quote Originally Posted by Scotsman89
    Hi thanks for your reply.
    I am sorry i have not followed the rules, I tried to find the rules and regulations to change the title and could not see any. Perhaps you could point me in the right direction?

    I tried your suggestion but it just comes up with #value but i am sure that is not too far away. Anymore ideas?

    I would rather not use a pivot table as ideally i would like to use a formula.
    Thanks again.
    See link in my signature for rules...

    ranges in the formula must be all same size... I messed that up..sorry...

    try: =SUMPRODUCT(--($K$2:$K$200="Case Complete"),--($E$2:$E$200="Company 1"),$L$2:$L$200)

  6. #6
    Registered User
    Join Date
    02-12-2008
    Posts
    45
    It works now! The problem was the ranges did not match!

    This site is great!!!!

+ 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