Let's say that you want a vertical line to mark the average of the following distribution (in cells A1:B11)...
{"X","Y"
;1,14
;2,18
;3,28
;4,38
;5,48
;6,55
;7,65
;8,54
;9,34
;10,20}
Since this data is already tallied you can use a weighted average...
=SUMPRODUCT($A$2:$A$11,$B$2:$B$11)/SUM($B$2:$B$11)
...as the x-axis value of your vertical line and use {0,65} as your y-axis values.
Since this is a unimodal distribution you can use this formula...
=INDEX(A:A,MATCH(MAX(B:B),B:B))
...to determine the placement of a vertical line identifying the distribution's mode.
This message was edited by Mark W. on 2002-02-27 10:24