Writing Data in excel using template in specific cells from single row



I want read data from input excel and want to write it in excel template. In template the data should go in specific cell. The cells in template is not in single row, it is at different rows and columns like forms.