ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   rounding numbers (https://www.excelbanter.com/excel-discussion-misc-queries/125527-rounding-numbers.html)

VPHR

rounding numbers
 
How can I round 3.4 to 3.5 instead of 3.0 or 4.0?

Cin

rounding numbers
 
Use
=MROUND(3.4,0.5)
Where 3.4 can also be the cell refernce.

"VPHR" wrote:

How can I round 3.4 to 3.5 instead of 3.0 or 4.0?


Bernard Liengme

rounding numbers
 
Note that MROUND requires the Analysis ToolPac to be installed
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Cin" wrote in message
...
Use
=MROUND(3.4,0.5)
Where 3.4 can also be the cell refernce.

"VPHR" wrote:

How can I round 3.4 to 3.5 instead of 3.0 or 4.0?




Teethless mama

rounding numbers
 
=CEILING(A1,0.5)

"VPHR" wrote:

How can I round 3.4 to 3.5 instead of 3.0 or 4.0?


Sandy Mann

rounding numbers
 
Try:

=ROUND(A1*2,0)/2
or
=INT(A1*2+0.5)/2

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"VPHR" wrote in message
...
How can I round 3.4 to 3.5 instead of 3.0 or 4.0?





All times are GMT +1. The time now is 05:21 PM.

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