One row and include the additional categories excel help

I need help with my Excel file. I have a file containing a comma separated values (CSV) list. This list contains information of companies’ contact details and their categories. There are several categories. Right now for each category, there is a separate row containing the business/company information.
I want to have all the information in one row and include the additional categories. Does anyone know how to consolidate the information with a command or a macro or whatever process? It will take me several weeks to complete the consolidation manually. Thanks for helping.
