All you need to do to calculate the Beta of the data below is put this into the cell you want the result in:
=COVARIANCE.S(B2:B19,C2:C19)/VAR.S(C2:C19)
This is with Excel 2013 which gives you a choice between Sample or Population Covariance and Variance. I've done it with Sample here.
(This is just for a few days for an example, so the resulting Beta of 0.204 will be pretty inaccurate):
EDIT: (Just realised the dates are messed up because I didn't format Column A correctly, but the method described is still fine as a model).
+----+--------------+-------+--------+ | | A | B | C | +----+--------------+-------+--------+ | 1 | DATE | VNM | SPY | | 2 | Feb 10, 2014 | 21.7 | 180.01 | | 3 | Feb 11, 2014 | 22.05 | 181.98 | | 4 | Feb 12, 2014 | 22.42 | 182.07 | | 5 | Feb 13, 2014 | 22.85 | 183.01 | | 6 | Feb 14, 2014 | 22.24 | 184.02 | | 7 | Feb 18, 2014 | 22.55 | 184.24 | | 8 | Feb 19, 2014 | 22.45 | 183.02 | | 9 | Feb 3, 2014 | 20.9 | 174.17 | | 10 | Feb 4, 2014 | 21.11 | 175.38 | | 11 | Feb 5, 2014 | 21.22 | 175.17 | | 12 | Feb 6, 2014 | 20.76 | 177.48 | | 13 | Feb 7, 2014 | 20.75 | 179.68 | | 14 | Jan 24, 2014 | 20.35 | 178.89 | | 15 | Jan 27, 2014 | 20.53 | 178.01 | | 16 | Jan 28, 2014 | 20.91 | 179.07 | | 17 | Jan 29, 2014 | 20.76 | 177.35 | | 18 | Jan 30, 2014 | 21.31 | 179.23 | | 19 | Jan 31, 2014 | 21.07 | 178.18 | +----+--------------+-------+--------+