Yes, just copy the first row formula to the below cells and excel will automatically will update the formula in the cells if you just simply drag them.
Saurabh...