The conversion type of my above post

i Want output in this format from excel sheet

How to do so.