Advertisement

03.25.2008 at 07:01AM PDT, ID: 23266974
[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!

3.1

Pivot table subtotals of calculated fields

Asked by kerrymr in Microsoft Excel Spreadsheet Software, Microsoft Access Database

Tags: , ,

Hi experts...
Firstly, I have an access database which contains some forecasting data.
We are trying to use an excel pivot table linked into the access databse (data import external data, import data) to provide some reporting.
Consider this sample data in the database...
 PERIOD      Division      Material      Forecast      Actual
1      AA      A      225      200
1      BB      B      220      240
1      AA      C      285      300
1      BB      D      290      270
2      AA      A      250      230
2      BB      B      240      260
2      AA      C      250      210
2      BB      D      240      275

We are trying to calcualte some performance metrics from this data.
The Metrics are called MAPE and BIAS.
The formula for MAPE is (ABS(ForecastQty-ActualQuantity)) / Actual Quantity.
The formula for BIAS is (ForecastQty-ActualQuantity)/ Actual Quantity.

When the pivot table rolls up to say the division level the calcualtion should look like this...
Division AA, Period 1 Forecast = 510
Divison AA, Period 1 Actual = 500
Division AA, Period 2 Forecast = 500
Divison AA, Period 2 Actual = 440

The metric calculations follow:

MAPEp1= (abs(510-500))/500 = 2%
MapeP2=(abs(500-440))/440 = 13.64%
Biasp1=(510-500))/500 = 2%
Biasp2=(500-440))/440 = 13.64%

Here is the tricky part...
To calculate the MAPE of division AA,
take the average of MAPEp1 and MAPEp2 = 2% + 13.64% / 2 = 7.82%
To calcualte the BIAS of division AA,
Add the Biasp1 and Bias P2 = 2% + 13.64% = 15.64%.

Rinse and repeat for division BB.

These are the values I am trying to achieve when the pivot table does not contain period or as an alternative as subtotals.

The final result should look like this:

Division      MAPE      BIAS
AA      7.82%      15.64%
BB      5.14%      10.28%

 or like this when period is included....

Division      PERIOD      MAPE      BIAS
AA                  
      1      2.00%      2.00%
      2      13.64%      13.64%
AA Total            7.82%      15.64%
                  
BB                  
      1      0.00%      0.00%
      2      10.28%      10.28%
BB Total            5.14%      10.28%

Thanks in advance....


Start Free Trial
[+][-]03.25.2008 at 07:12AM PDT, ID: 21202058

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.

 
[+][-]03.25.2008 at 07:15AM PDT, ID: 21202087

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.

 
[+][-]03.25.2008 at 07:28AM PDT, ID: 21202193

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.

 
[+][-]03.25.2008 at 10:50AM PDT, ID: 21204257

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.

 
[+][-]03.25.2008 at 11:02AM PDT, ID: 21204377

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, Microsoft Access Database
Tags: Microsoft, Excel, 2003
Sign Up Now!
Solution Provided By: folderol
Participating Experts: 4
Solution Grade: B
 
 
[+][-]03.25.2008 at 12:37PM PDT, ID: 21205289

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.

 
[+][-]03.25.2008 at 07:52PM PDT, ID: 21208551

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.

 
[+][-]03.31.2008 at 12:27PM PDT, ID: 21248300

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.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628