I don't think so, I remove the #ExcelNot and /ExcelNot and no difference. ExcelNot is simply toggling options based on html or not output.
I see.... I would really need that playground demo to be able to check where is the problem.
You can learn more about handlebars in dedicated docs here
https://handlebarsjs.com/guide/