Conversion of column values to column name

@lucky7

Can you explain little more about the process or if you some screenshots that will be more helpful to provide the solution