View Single Post
  #7  
Old April 26th, 2010, 07:52 PM posted to microsoft.public.excel.newusers
Bernard Liengme
external usenet poster
 
Posts: 516
Default How to round the numeric value?

I think you need =ROUND(A2/0.5,0)*0.5
Here are examples of results from CEIL, MROUND and ROUND
number =CEILING(A2,0.5) =MROUND(A2,0.5) =ROUND(A2/0.5,0)*0.5
1.45 1.5 1.5 1.5
1.5 1.5 1.5 1.5
1.7 2 1.5 1.5
1.9 2 2 2
2 2 2 2
2.1 2.5 2 2
2.45 2.5 2.5 2.5
2.5 2.5 2.5 2.5

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Salman Saeed" Salman wrote in message
...
Kindly tell me that how can we round the numeric value?
Example: 1.2 = 1.5, 1.7 = 2.0