Type the formula I provided into A8. Hover your mouse over the lower right corner of A8 until the cursor changes to a + sign. Once there, click down and drag your mouse downward until you have filled as many rows as you need with that formula.