ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with Rounding total off but leaving .00 (https://www.excelbanter.com/excel-programming/394962-help-rounding-total-off-but-leaving-00-a.html)

Les Stout[_2_]

Help with Rounding total off but leaving .00
 
Hi all, this is probably quite simple but cannot find it, i need to
tally up a total and if it is 2541.512 then the answer should be 2542.00
and if it is 2541.425 then it must be 2541.00.

Any help much appreciated...

Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***

John Bundy

Help with Rounding total off but leaving .00
 
Just use this formula, and format the cells to Number with 2 decimal
=ROUND(A1,0)
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Les Stout" wrote:

Hi all, this is probably quite simple but cannot find it, i need to
tally up a total and if it is 2541.512 then the answer should be 2542.00
and if it is 2541.425 then it must be 2541.00.

Any help much appreciated...

Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***


Tom Ogilvy

Help with Rounding total off but leaving .00
 
format(application.Round(number,0),"#,##0.00")

if you using a formula in a cell

=Round(sum,0)

format the cell for #,##0.00

--
Regards,
Tom Ogilvy


"Les Stout" wrote:

Hi all, this is probably quite simple but cannot find it, i need to
tally up a total and if it is 2541.512 then the answer should be 2542.00
and if it is 2541.425 then it must be 2541.00.

Any help much appreciated...

Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***


Les Stout[_2_]

Help with Rounding total off but leaving .00
 
Thanks John Much Appreciated, great evening.. :0)

Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***

Les Stout[_2_]

Help with Rounding total off but leaving .00
 
Thanks for the reply Tom & both versions...

Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***


All times are GMT +1. The time now is 05:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com