Generate Excel from filtered data of Collections

I want to have customized headers in excel rather than field names. for example, rather than having column name as ‘publishdate’, I want to show ‘Publish Date’. How do I achieve this? thanks in advance. Since I know the exact number of columns I will have in excel, I don’t mind even hard coding them. thanks