[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

How to count Categories in an Excel table.  SUMPRODUCT takes 45 minutes to calculate.

Asked by megnin in Microsoft Excel Spreadsheet Software, Algorithms

Tags: Excel 2003, Formula

I have a table in Excel 2003 with 46,000 rows, which is created by querying three SQL tables.

I'm using this formula in colum O to calculate the number of records in each Program (C:C)
=SUMPRODUCT(($B$2:$B$65000=B2)*($C$2:$C$65000=C2)*($G$2:$G$65000=G2))

B:B may contain one of three Centers, say, "North", "Central" or "South"
C:C may contain one of three Programs, say, "WTP", "WIA" or "WP"
G:G contains the column name representing an audit question like "ActionCaseNotesEntered" for example and there are about 50 different questions in the "WTP" group, about 45 different and unique questions for the "WIA" group and about 35 different questons in the "WP" group.  Each group has its own different set of questions.

Looking at the table you'd see a ReviewID in A:A (this is probably the key to the solution to my problem)
Since there are 50 questions in the WTP group the first 50 ReviewIDs in this table are all the same because there is a row for each question.  So, the first 50 A:A are the same, say, "3012" and the first 50 B:B are the same also since it's all the same Review and the first 50 C:C are the same, but each of the first 50 G:G are unique: the questions.
The next 50 rows are the same deal, A:A may be "3013", the next ReviewID and then a row for each question.

The idea with the formula was to count the number of occurrences of each question in each Program at each Center to get the number of cases/records/ReviewIDs.  
Another way to put the question is, "How many cases (or records or ReviewIDs) in the WTP Program at the Central Office.

Now, that formula works and gives me the numbers I need.  I get "153" in column O:O in every row where B:B = "South" and C:C = "WTP".
The problem is it takes 45 minutes to calculate that number in column O:O for 46,000 rows.


Is there a beter way to do this that would be faster?  I'm thinking I should use the ReviewID in A:A instead of the question in G:G since the calculation should be simpler.  The count of unique ReviewIDs in each group is all I need.  Using the question, I have to count the number of times the question occurs in each group and it does seem awkward now.

I hope I haven't explained it too poorly.

Thank you for your help.
[+][-]11/04/09 04:11 PM, ID: 25745575Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Microsoft Excel Spreadsheet Software, Algorithms
Tags: Excel 2003, Formula
Sign Up Now!
Solution Provided By: barryhoudini
Participating Experts: 3
Solution Grade: A
 
[+][-]11/04/09 03:02 PM, ID: 25745035Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/09 03:15 PM, ID: 25745175Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/04/09 04:02 PM, ID: 25745523Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/09 04:11 PM, ID: 25745577Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/05/09 06:04 PM, ID: 25756091Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625