Hi Indu,
You need to break down the requirement. You need separate inbound interfaces and use Bhavesh's suggestion on creation of XML to excel. For dynamic names, you can check the below document as well just for understanding.
Variable substitution in case of non-XML target files in a multi-mapping scenario
Ambrish