Getting the correct avg. in a pivot table

zonemaster88

New Member
Joined
Sep 15, 2014
Messages
3
Hi, I am trying to get the average cost of items with duplicates of the same item but having different value in a pivot table. I tried looking for an answer on here and was unable to find one.

Ex:

<colgroup><col span="2"></colgroup><tbody>
DateItem #Value
1-Sep1594$100
1-Sep5135$75
1-Sep5461$985
2-Aug7484$356
6-Apr8789$125
15-Jul5135$502
28-Feb1289$714

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>
</tbody>

A pivot table would get the average of $408 when I sort by date. However, the average I am looking for is of all the orders with 5135 combined. This would be $476. I understand that I could just sort this by item # but the actual data I'm working with has over 80,000 items (in-practical). Anyone know how to combine item numbers and get the average of combined like items in a pivot table?

Thanks!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Sorry, data would look like this

Date Item Cost
8/5 4512 $225
8/5 4514 $425
8/5 4518 $125
8/5 4518 $225
8/5 4504 $375

Average on Pivot $275
I want 4518 combined to get table avg of $343.75
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top