gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,341
- Office Version
- 365
- Platform
- Windows
Type | Part | Quantity | Unit Price |
OnHand | 12571078 | 10.2 | 318.86 |
OnHand | 12571079 | 8.8 | 5.09 |
OnHand | 12571078 | 11.8 | 315.25 |
ScheduledReceipt | 12571078 | 2.3 | 325.85 |
ScheduledReceipt | 12571079 | 1.5 | 6.89 |
ScheduledReceipt | 12571079 | 2.8 | 6.82 |
Here is the table of how the data typically comes.
I need a formula that will calculate the total quantity by Part/Type and I need to have the average unit price
I know I can add a column and calculate extended price and then use that to calculate an average but I really was looking to see if there was a way without doing that extra step
Example for OnHand/12571078
10.2 X 318.86 = 3252.33
11.8 X 315.25 = 3719.95
Sum of Total Pricer 6972.32 / sum of quantity 22 = average unit price of $316.92
Thanks