gnaga
Well-known Member
- Joined
- Jul 9, 2002
- Messages
- 748
- Office Version
- 365
- 2016
- 2013
- Platform
- Windows
Hi,
I need a formula to get an weighted average price of each item in a separate sheet. For Example please refer the below data. I have three different sheets where each item is marked with its qty and price. I have to make a new sheet where the weighted average price of each item is calculated. I need a formula for the Result Sheet4 to populate the Unique Item Code, Total Qty and its Weighted Average Price.
I need a formula to get an weighted average price of each item in a separate sheet. For Example please refer the below data. I have three different sheets where each item is marked with its qty and price. I have to make a new sheet where the weighted average price of each item is calculated. I need a formula for the Result Sheet4 to populate the Unique Item Code, Total Qty and its Weighted Average Price.
Sheet 1 | Sheet 2 | Sheet 3 | Result Sheet4 | |||||||||||
Code | Qty | Price | Code | Qty | Price | Code | Qty | Price | Code | Tot.Q | Wt.Av.P | |||
A | 10 | 205.5 | H | 100 | 23.0 | B | 74 | 580.0 | A | 502 | 108.16 | |||
A | 20 | 102.0 | B | 200 | 32.0 | B | 21 | 600.0 | B | 320 | 201.59 | |||
B | 25 | 103.5 | D | 150 | 45.0 | H | 35 | 235.0 | C | 23 | 851.20 | |||
C | 23 | 851.2 | E | 200 | 56.0 | W | 28 | 125.0 | D | 171 | 79.42 | |||
D | 21 | 325.3 | A | 300 | 58.0 | X | 26 | 120.0 | E | 231 | 56.94 | |||
E | 20 | 56.3 | A | 125 | 96.0 | U | 27 | 105.0 | F | 102 | 96.31 | |||
E | 11 | 75.4 | F | 100 | 87.0 | U | 29 | 110.0 | G | 141 | 145.52 | |||
F | 2 | 562.0 | R | 200 | 81.0 | A | 24 | 100.0 | H | 135 | 77.96 | |||
G | 5 | 750.0 | R | 120 | 21.0 | A | 23 | 800.0 | L | 525 | 42.46 | |||
G | 78 | 23.0 | L | 225 | 24.0 | G | 15 | 600.0 | R | 320 | 58.50 | |||
G | 25 | 59.0 | L | 300 | 56.3 | G | 18 | 250.0 | U | 56 | 107.59 | |||
W | 28 | 125.00 | ||||||||||||
X | 26 | 120.00 |