creating-profitability-analysis-subcalculations