Forum Discussion
db_pdx
7 months agoValued Contributor
Hi DDrider: two things stand out to me:
1) Your GetDataCell has unbalanced parenthesis, so its unclear if it is calculating correctly. Corrected would be:
GetDataCell(Divide((CVC(CYAct)-CVC(PYAct)), CVC(PYAct))):Name(PY % Var)
2) You're mixing formats. NumberFormat of [0.0%] and [0.0] are not the same. ShowPercentSign just slaps a % symbol at the end of the value; its a bad design from my perspective. If you are generating real decimal values (which is what you're striving for), I'd recommend the following:
Scale=0, ExcelUseScale = True, NumberFormat = [#,###,0.0%], ExcelNumberFormat = [#,###,0.0%]
Lastly, when in doubt, put the numbers into Excel and validate what the figure should be.
Cheers, -db
Edit: typo
Related Content
- 8 months ago
- 6 months ago
- 2 months ago
- 2 years ago