The inclusion of attachments is strongly discouraged within the Newsgroup,
because of the risks of a virus and because of the extra bandwidth used for
those who pay by the minute for their connection. Many people will not even
look at files with attachments. Please note for future postings.
However, I think your problem can be resolved if you add an extra column to
your data, called Weighted Average. Extend the range of your Pivot Table
data to include this new column.
This column should have the formula relating to Quality*Quantity only.
IN the Pivot Table, right click a field, and choose Formulas=>Calculated
Field. Create a Field called Average and insert the formula
=Weighted Average/Quantity
Include this field within your PT data area, as SUM of Average, formatted to
2 decimal places and you will find that you get the correct weighted
averages showing by Country and by Material.
Regards
--
Roger Govier
Technology 4 U
"Axel Scheithauer" <axel.sch...@otto.de> wrote in message
news:089101c1112a$50cc4ef0$97e62ecf@tkmsftngxs04...
> I have a table about the quantities ordered and the
> quality received with the following fields: country,
> material, product group
>
> Now I want a pivot table with the weighted average of the
> quality:
>
> sum(quality*quantity)/sum(quantity)
>
> Pivot-tables don't offer weighted average.
>
> In my example I always get medium quality 2, no matter how
> many high quality items I got.
>
> How can I get the real picture?