N
Neil
Hi All,
I've created a sheet in which I would like to calculate mean and standard
deviation for a user selected range.
I have a number of ranges of data (arranged in columns and of varying
length) which the user may select.
Once the user has selected a range, I'd like them to be able to click a
button to run a macro that will
display the mean and st.dev. (as a string maybe) in the cell immediately
below and to the right of the lowest
cell selected by the user.
Example, the user selects the range (C24:C31), runs the macro and ends up
with the mean and st.dev. in cell D32.
The output I'm after can be achieved using a formula like,
'="The mean is "&ROUND(AVERAGE(C24:C31),1)&" and the standard deviation is
"&ROUND(STDEV(C24:C31),1)'
Any thoughts ?
TIA,
Neil
I've created a sheet in which I would like to calculate mean and standard
deviation for a user selected range.
I have a number of ranges of data (arranged in columns and of varying
length) which the user may select.
Once the user has selected a range, I'd like them to be able to click a
button to run a macro that will
display the mean and st.dev. (as a string maybe) in the cell immediately
below and to the right of the lowest
cell selected by the user.
Example, the user selects the range (C24:C31), runs the macro and ends up
with the mean and st.dev. in cell D32.
The output I'm after can be achieved using a formula like,
'="The mean is "&ROUND(AVERAGE(C24:C31),1)&" and the standard deviation is
"&ROUND(STDEV(C24:C31),1)'
Any thoughts ?
TIA,
Neil