mudstuffin
Technical User
I have an Excel spreadsheet that has various sum calculations of monetary values. My problem is that it seems to be rounding the figure incorrectly, making it 1 pence out….! I have changed the formatting to 2 decimal places but this doesn’t seem to stop it. How can I correct it. Here is an example of what it does....
Value entered into cell by user: £ 266.90
Cell to right calculates 15% of above:- £ 40.04
Cell to right of that deducts above from entered value:- i.e £ 266.90-£ 40.04 = £226.87. This should be £226.86…!
Incidentally, I have a similar problem in another spreadsheet, with calculating values of text boxes in a userform. The textbox will not seem to format to two decimal places when the calculated value is 8.235. Again, when calculated with another value, it rounds up to give a figure that is 1 pence out. I am formatiing the textbox like this:- A = Format(A, "£ #,##.00"
Am I missing something here…?
I am sure the solution is simple, but it's one that I'm missing.
Thanks in anticipation.
mudstuffin
Value entered into cell by user: £ 266.90
Cell to right calculates 15% of above:- £ 40.04
Cell to right of that deducts above from entered value:- i.e £ 266.90-£ 40.04 = £226.87. This should be £226.86…!
Incidentally, I have a similar problem in another spreadsheet, with calculating values of text boxes in a userform. The textbox will not seem to format to two decimal places when the calculated value is 8.235. Again, when calculated with another value, it rounds up to give a figure that is 1 pence out. I am formatiing the textbox like this:- A = Format(A, "£ #,##.00"
Am I missing something here…?
I am sure the solution is simple, but it's one that I'm missing.
Thanks in anticipation.
mudstuffin