+ Reply to Thread
Results 1 to 3 of 3

Roundup/Ceiling to 2 decimals using a whole #

Hybrid View

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Roundup/Ceiling to 2 decimals using a whole #

    I'm trying to use either the roundup or ceiling function to convert a number x to a number divisible by 12 to 2 decimal places.

    Example - $18.69 is current number. The correct formula would deliver $18.72

    Evenly divisible by the number of units "12" - just not to the whole number.

    I've tried =ceiling(18.69,12) and it returns $24.00

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Roundup/Ceiling to 2 decimals using a whole #

    bchalifoux,

    A simple workaround would be to multiply by 100 so there is no decimal, and then divide by 100 after conversion:
    =CEILING(A2*100,12)/100

    Hope that helps,
    ~tigeravatar

  3. #3
    Registered User
    Join Date
    08-09-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Roundup/Ceiling to 2 decimals using a whole #

    Thanks!! That worked.

+ 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