Take data from the master sheet and fill to the other sheets having some format and do the sum accordingly

Hi @Swara_Soni

so, you want to add a formula into a cell, right?
In this case, this post should help you: