RiskSpan interview question

Long coding assessment, submitted in Excel. Just had to find some basic stats on a data set.