123-45-6789
=> Name,Name
How to get the result as
SSN # Name
123-45-6789 Name,Name
To help @binuacs, can you @Yuvaraj85 kindly provide some dummy data set that has your conditions specified?
In addition, it's important to tell your issue with your conditions, only then will we be able to advise you better. Otherwise it will fall short as a solution.