# Sumproduct formula:start to finish

1. ## 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

2. You mean perhaps?

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

3. Hi,
maybe a Pivot Table is what you are looking for

Cheers

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. Originally Posted by Scotsman89
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. It works now! The problem was the ranges did not match!

This site is great!!!!

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### 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