Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Round function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gian - 23 Jan 2006 15:38 GMT
Hi,

How can I round a number with increment of 0.5 ? For e.g. 0.1 will be equal
to 0.5, 1.1 will be equal to 1.5, 1.5 will be equal to 2.0 etc.

Thanks.

Gian
Ron Rosenfeld - 23 Jan 2006 15:48 GMT
>Hi,
>
[quoted text clipped - 4 lines]
>
>Gian

Normal rounding up to 0.5 would leave 1.5=1.5.

So to do what you describe, you could add a very small amount to your values.
This will also cause 2.0-->2.5

=CEILING(A8+(10^-10),0.5)

--ron
Bob Phillips - 23 Jan 2006 15:52 GMT
=CEILING(A1,0.5)

But 1.5 stays as 1.5, it has already hit it's ceiling.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> Hi,
>
[quoted text clipped - 4 lines]
>
> Gian
Gian - 23 Jan 2006 16:11 GMT
Thanks guys.

> =CEILING(A1,0.5)
>
[quoted text clipped - 17 lines]
> >
> > Gian
Martin Fishlock - 23 Jan 2006 16:17 GMT
Gian:

Am I missing something or can't you just use the following formula:

=INT(A1*2+1)/2

Signature

HTHs Martin

> Hi,
>
[quoted text clipped - 4 lines]
>
> Gian
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.