Jun 02 2023 02:13 AM
Hi
I have created spreadsheet which calculates VAT and has a total columns. The issue is that the numbers are rounded up or down. I would like them to be exact.
I have =sum(D2:D4) which are 0.17 for column D The total should be 0.51 but it is round to 0.50
I have =sum(E2:E4) which are 8.33 for column E The total should be 2.49 but it is round to 2.50
The cells are set as a number format with 2 decimal places.
Any suggestions very much appreciated?
Thanks
Dave
Jun 02 2023 02:40 AM
SolutionJun 02 2023 02:57 AM
Jun 02 2023 04:21 AM
Jul 03 2023 01:48 AM
Hi
sorry to bother you again. I am now about to use the sheet with the formulas suggested. However if I enter 2 in A2 the total for C2 is then 1.67 when it should be 1.66. Is there a way to overcome this. This means B2 is 0.33 when it should be 0.34.
Any advice would be greatly appreciated
Thanks
Dave
Jul 03 2023 02:03 AM
2/1.2 is about 1.6666666667. What is the logic why it shall be 1.66, you trunk all decimals after first two?
Jul 03 2023 09:04 AM
Jul 04 2023 12:45 AM - edited Jul 04 2023 02:02 AM
Column A is the gross price inc VAT, C is the price excluding VAT and B is the amount of VAT.
So the formula as it is works apart from the fact that figures are rounded up. It may be a case that what I am trying to achieve is not possible.
**** SOLVED ****
I think I may have solved this by using =ROUNDDOWN(C2/1.2,2). I have tested a number of quantities and the amounts calculate correctly.
Thanks
Dave
Jun 02 2023 02:40 AM
Solution