+ Reply to Thread
Results 1 to 4 of 4

Simple Roundup

  1. #1
    Registered User
    Join Date
    03-08-2005
    Posts
    55

    Simple Roundup

    Hello All,

    I'm trying to have a string of whole numbers round up to the nearest whole number after multiplying the numbers by 1.2.

    Ex. 36*1.2=46.2 and I want the 46.2 to automatically round up to 47.

    Is there a simple solution?

    Thanks in advance.
    Last edited by Skiman; 01-25-2011 at 03:55 PM.

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

    Re: Simple Roundup

    Try

    =ROUNDUP(36*1.2,0)

    which gives 44 (correct) not 47 (incorrect)
    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 Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Simple Roundup

    Yes, use the ROUNDUP function
    =ROUNDUP(36*1.2,1) where the 1 represents # of decimal places to round to. Is that what you wanted?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    03-08-2005
    Posts
    55

    Re: Simple Roundup

    Great help. I will be using zero decimals but the formula works great.

    Thanks for the time guys.

+ 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