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
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
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Hi,
maybe a Pivot Table is what you are looking for
Cheers
Quoting entire posts clutters the forum and makes threads hard to read !
If you are pleased with a member's answer then use the Star icon to rate it
Click here to see forum rules
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...Originally Posted by Scotsman89
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)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
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)
Bookmarks