Hello
In essence what I need is very simple but I cannot find an answer anywhere online.
I have a long string of numbers of variable length (sales in a week) in a format where another number simply gets added to the string each week. I think I am right in saying I want to be able to find out the Median (To IGNORE peaks and troughs such a 0 sales etc when a product was out of stock).
Please help me do this? It would save me a lot of time using manual judgement each time.
[TABLE="width: 552"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Product[/TD]
[TD]Sales/week[/TD]
[TD]Median sales[/TD]
[/TR]
[TR]
[TD]Bench[/TD]
[TD]0,0,9,0,9,10,13,8,0,0,13[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Seat[/TD]
[TD]2,3,2,8,2,3,4,5,0,0,0[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Tennis Racket[/TD]
[TD]22,0,4,9,22,35[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]10L Paint[/TD]
[TD]89,101,165,50[/TD]
[TD] ?[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be majorly appreciated!
Many thanks
Mark
In essence what I need is very simple but I cannot find an answer anywhere online.
I have a long string of numbers of variable length (sales in a week) in a format where another number simply gets added to the string each week. I think I am right in saying I want to be able to find out the Median (To IGNORE peaks and troughs such a 0 sales etc when a product was out of stock).
Please help me do this? It would save me a lot of time using manual judgement each time.
[TABLE="width: 552"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Product[/TD]
[TD]Sales/week[/TD]
[TD]Median sales[/TD]
[/TR]
[TR]
[TD]Bench[/TD]
[TD]0,0,9,0,9,10,13,8,0,0,13[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Seat[/TD]
[TD]2,3,2,8,2,3,4,5,0,0,0[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Tennis Racket[/TD]
[TD]22,0,4,9,22,35[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]10L Paint[/TD]
[TD]89,101,165,50[/TD]
[TD] ?[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be majorly appreciated!
Many thanks
Mark