Figure 2: Output in Excel after following the steps mentioned in the text. Highlighted portion depicts r (yellow) and P (gray).