Salamullah
Board Regular
- Joined
- Mar 28, 2011
- Messages
- 221
Hi all,
Please help me with formula which calculate weighted average selling prices (WAP) based on volume
Sheet 2 result
[TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Product No.[/TD]
[TD]WAP[/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 17.05 [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 27.22 [/TD]
[/TR]
[TR]
[TD]22-100[/TD]
[TD] 20.00 [/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 data
[TABLE="width: 328"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 429"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Product[/TD]
[TD]USP[/TD]
[TD]Volume[/TD]
[TD]%[/TD]
[TD]WA[/TD]
[TD]WAP[/TD]
[/TR]
[TR]
[TD]22-100[/TD]
[TD] 20.00 [/TD]
[TD] 14,000 [/TD]
[TD="align: right"]100[/TD]
[TD] 20.00 [/TD]
[TD] 20.00 [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 15.00 [/TD]
[TD] 50,000 [/TD]
[TD="align: right"]64%[/TD]
[TD] 9.62 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 10.00 [/TD]
[TD] 13,000 [/TD]
[TD="align: right"]17%[/TD]
[TD] 1.67 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 30.00 [/TD]
[TD] 15,000 [/TD]
[TD="align: right"]19%[/TD]
[TD] 5.77 [/TD]
[TD] 17.05 [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 30.00 [/TD]
[TD] 50,000 [/TD]
[TD="align: right"]63%[/TD]
[TD] 18.99 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 40.00 [/TD]
[TD] 12,000 [/TD]
[TD="align: right"]15%[/TD]
[TD] 6.08 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 10.00 [/TD]
[TD] 17,000 [/TD]
[TD="align: right"]22%[/TD]
[TD] 2.15 [/TD]
[TD] 27.22 [/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please help me with formula which calculate weighted average selling prices (WAP) based on volume
Sheet 2 result
[TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Product No.[/TD]
[TD]WAP[/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 17.05 [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 27.22 [/TD]
[/TR]
[TR]
[TD]22-100[/TD]
[TD] 20.00 [/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 data
[TABLE="width: 328"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 429"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Product[/TD]
[TD]USP[/TD]
[TD]Volume[/TD]
[TD]%[/TD]
[TD]WA[/TD]
[TD]WAP[/TD]
[/TR]
[TR]
[TD]22-100[/TD]
[TD] 20.00 [/TD]
[TD] 14,000 [/TD]
[TD="align: right"]100[/TD]
[TD] 20.00 [/TD]
[TD] 20.00 [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 15.00 [/TD]
[TD] 50,000 [/TD]
[TD="align: right"]64%[/TD]
[TD] 9.62 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 10.00 [/TD]
[TD] 13,000 [/TD]
[TD="align: right"]17%[/TD]
[TD] 1.67 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-400[/TD]
[TD] 30.00 [/TD]
[TD] 15,000 [/TD]
[TD="align: right"]19%[/TD]
[TD] 5.77 [/TD]
[TD] 17.05 [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 30.00 [/TD]
[TD] 50,000 [/TD]
[TD="align: right"]63%[/TD]
[TD] 18.99 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 40.00 [/TD]
[TD] 12,000 [/TD]
[TD="align: right"]15%[/TD]
[TD] 6.08 [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]22-500[/TD]
[TD] 10.00 [/TD]
[TD] 17,000 [/TD]
[TD="align: right"]22%[/TD]
[TD] 2.15 [/TD]
[TD] 27.22 [/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]