Just record yourself draggin the row down and look at that code, the formulas will be copied from the row above.