Excel formatting issue

HI ,
I have attached a sample to get clear idea in the below. I will solve the issue.

Regards
Balamurugan.S