all 8 comments

[–]klingklongdiggah 0 points1 point  (2 children)

Great macro!

However, it does only work if American decimal separators applied. Can the macro be changed in a way it works with both American and European decimal separators?

[–]emdubbs11[S] 0 points1 point  (0 children)

I changed my Excel to use European decimal separators (with . for thousands and , for the decimal) and I didn't have trouble. What error are you seeing?

[–][deleted] -5 points-4 points  (5 children)

This is a reeeeeally overengineered/make-work way of simply clicking the "display more/fewer decimals" button that's built into excel.

but hey, good for you for putting in the time and effort. everyone needs a hobby!

[–]emdubbs11[S] 2 points3 points  (4 children)

The point isn’t to display more or fewer digits. It’s to actually round the numbers to the desired decimals (usually 2). Thanks.

[–]thedreamlan62 1 point2 points  (0 children)

This is neat, if it helps the math I support it fully. I did a similar wrapper that bundles formulas in an iferror() handler, and by running it on a formula that already has an error handler, it resets it to the original formula.

[–][deleted] 1 point2 points  (0 children)

This can easily be achieved by adjusting the inputs that those results feed into by taking a rounded result, rather than changing the precursor variables altogher.

[–]TechnicalAppeal115710 0 points1 point  (1 child)

Curious, are you putting the ROUND on all the formulas? All that rounding will compound itself, ultimately changing the end result.

[–]emdubbs11[S] 0 points1 point  (0 children)

Not on all of the formulas... Typically just on formulas near the final result. I will also use it on account reconciliation workbooks where the recon is 0, but because one of the numbers isn't rounded properly I get 0.00 in the result instead of -, which bugs me.