I have an excel file with over 500,000 rows, each representing monthly temperature data for a particular weather station and year. I would like to find the average temperature and accompanying standard deviation across all available years for each individual weather station and each month. However, I only need to do this for a small portion of the weather stations. In the attached shortened example of my data the second sheet lists the weather stations for which I need averages and standard deviations.
Short of manually selecting all the rows I need for each location, is there a macro or function that can average across all appropriate rows in the first sheet for each row in the second sheet?
Bookmarks