+ Reply to Thread
Results 1 to 6 of 6

How to round values up

  1. #1
    Registered User
    Join Date
    07-02-2008
    Location
    Winnipeg, MB
    Posts
    57

    How to round values up

    Let's say I have a value of 172 in cell A1. How do I write a formula that will round this number to the nearest hundredth in A2?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =Ceiling(A1,100)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Your title says round up, your post says nearest hundredth, and your example suggests nearest hundred. Pick one you like:

    NBVC's example: round up to nearest 100

    =ROUNDUP(A1, 2) round up to nearest 1/100

    =ROUND(A1, 2) round to nearest 1/100

    =ROUND(A1, -2) round to nearest 100
    Last edited by shg; 07-09-2008 at 06:24 PM.

  4. #4
    Registered User
    Join Date
    07-02-2008
    Location
    Winnipeg, MB
    Posts
    57
    Exactly right. Thanks.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    We are left to wonder ...

  6. #6
    Registered User
    Join Date
    07-02-2008
    Location
    Winnipeg, MB
    Posts
    57
    LOL, I was looking to round to the nearest hundred:
    Please Login or Register  to view this content.
    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1