How to get sales Responsible field in the Excel sheet ?

Hi experts ,

I am trying to create csv file …i have around 31 fields …in that first row should be header and second row should be sub header .I am useing container I am getting values but I am unable to get the field called sales responsible …value showing some value like recid…but I want print sales responsible person name …can u some one suggest how to get name ?

One more thing in the 31 fields last 7 fields will be come under sub header and if it has lines …that many lines should come in sub header fields.

Please suggest me how to achieve this one please