Hi,
If you are using the parent member to get the totals, then it will include the excluded members also; since parent member is calculated based on the hierarchy.
If you dont want the excluded members to be summed up, then you need to have the custom sum formula in your excel, adding up the members appearing in the template. This can be done using local member.
Hope this helps.