I need to calculate the standard deviation and weighted average of a large set of data. A sample of the data:
Job Title Frequency Rate
Proj Mgr 1 4 22.00
Proj Mgr 1 2 22.53
Proj Mgr 1 5 21.13
Proj Mgr 1 2 23.88
Proj Mgr 1 1 20.07
Proj Mgr 2 4 25.34
Proj Mgr 2 5 26.12
Proj Mgr 2 3 24.78
...
All of the data is within a single sheet, but there are literally thousands of rows
(year's worth of data) and dozens of Job Titles. How can I produce a report similar to:
Job Title Low Rate High Rate Weighted Avg Std Dev
Proj Mgr 1 20.07 23.88 21.90 1.44
Proj Mgr 2 ...
I know I can use SUMPRODUCT/SUM to get Weighted Average and STDEV to get Standard Deviation for the individual pieces but that would take forever. Can this be done using a macro?
Thanks in advance!
Job Title Frequency Rate
Proj Mgr 1 4 22.00
Proj Mgr 1 2 22.53
Proj Mgr 1 5 21.13
Proj Mgr 1 2 23.88
Proj Mgr 1 1 20.07
Proj Mgr 2 4 25.34
Proj Mgr 2 5 26.12
Proj Mgr 2 3 24.78
...
All of the data is within a single sheet, but there are literally thousands of rows

Job Title Low Rate High Rate Weighted Avg Std Dev
Proj Mgr 1 20.07 23.88 21.90 1.44
Proj Mgr 2 ...
I know I can use SUMPRODUCT/SUM to get Weighted Average and STDEV to get Standard Deviation for the individual pieces but that would take forever. Can this be done using a macro?

Thanks in advance!