I am having problems putting this into words, so bear with me.
I am attempting to find the Median which I normally know how to do. The problem is something else. I have 4 columns
Sales Person
Product
# of Products Sold
Price
I want to find the Median price of products sold for each Sales person. The problem comes when they have sold more then one of a product. My current list is 3600+ rows long otherwise I would manually add all the products in. I have tried pasting in an example below. The only way I can think to do it is to manually add in a cell for each and every product sold. Ex. Row 1, I would add in $27 again. Same for Row 2. Row 4 would have me add 5 additional cells containing $38.00. Can anyone help?
[TABLE="width: 352"]
<tbody>[TR]
[TD="align: center"]Sales Person[/TD]
[TD="align: center"]Product Code[/TD]
[TD="align: center"]No Of Bottles[/TD]
[TD="align: center"]Price[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A166[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$27.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A166[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$27.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A4990[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$38.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A4990[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]$38.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B1192[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]$21.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
</tbody>[/TABLE]
Rollie Wright
I am attempting to find the Median which I normally know how to do. The problem is something else. I have 4 columns
Sales Person
Product
# of Products Sold
Price
I want to find the Median price of products sold for each Sales person. The problem comes when they have sold more then one of a product. My current list is 3600+ rows long otherwise I would manually add all the products in. I have tried pasting in an example below. The only way I can think to do it is to manually add in a cell for each and every product sold. Ex. Row 1, I would add in $27 again. Same for Row 2. Row 4 would have me add 5 additional cells containing $38.00. Can anyone help?
[TABLE="width: 352"]
<tbody>[TR]
[TD="align: center"]Sales Person[/TD]
[TD="align: center"]Product Code[/TD]
[TD="align: center"]No Of Bottles[/TD]
[TD="align: center"]Price[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A166[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$27.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A166[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$27.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A4990[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$38.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]A4990[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]$38.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B1192[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]$21.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
[TR]
[TD="align: center"]Bob[/TD]
[TD="align: center"]B3053[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]$45.00[/TD]
[/TR]
</tbody>[/TABLE]
Rollie Wright