Hi @Sneha2369
So if you are getting the final output correctly as shown above then just for formatting you can use Change Cell Type Activities by @balupad14
Mark as solution and like it if this helps you
Happy Automation
Best Regards
Er Pratik Wavhal