Hi,
I am looking for a macro to calculate standard deviation for multiple columns of data; each column has a varying length of data. Please see that attached sample worksheet. I want to calculate the standard deviation of column A (year) but first, the macro needs to determine which years to use in the calculation. Columns B through H are streamflows for various rivers. Some years have streamflow; some years don't. If a year does not have streamflow, then it is not inlcuded in the standard deviation calculation.
In row 111, I inserted the calculations that I am looking for.
Any help is greatly appreciated.