+ Reply to Thread
Results 1 to 6 of 6

Roundup to .99 endings

Hybrid View

  1. #1
    Registered User
    Join Date
    06-21-2006
    Posts
    3

    Roundup to .99 endings

    Trying to get every number in an excel file to roundup for retail price points....

    20.34 = 20.99
    38.75 = 38.99

    thanks in advance!

  2. #2
    Bob Phillips
    Guest

    Re: Roundup to .99 endings

    =roundup(a1,0)-.01

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "mj99" <mj99.29rtnb_1150924816.0157@excelforum-nospam.com> wrote in message
    news:mj99.29rtnb_1150924816.0157@excelforum-nospam.com...
    >
    > Trying to get every number in an excel file to roundup for retail price
    > points....
    >
    > 20.34 = 20.99
    > 38.75 = 38.99
    >
    > thanks in advance!
    >
    >
    > --
    > mj99
    > ------------------------------------------------------------------------
    > mj99's Profile:

    http://www.excelforum.com/member.php...o&userid=35647
    > View this thread: http://www.excelforum.com/showthread...hreadid=554321
    >




  3. #3
    joeu2004@hotmail.com
    Guest

    Re: Roundup to .99 endings


    Bob Phillips wrote:
    > "mj99" <mj99.29rtnb_1150924816.0157@excelforum-nospam.com> wrote:
    > > Trying to get every number in an excel file to roundup for retail price
    > > points....
    > > 20.34 = 20.99
    > > 38.75 = 38.99

    >
    > =roundup(a1,0)-.01


    Caveat emptor: That changes $20 to $19.99. If that is what you want,
    so be it.


  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699
    Perhaps

    =roundup(a1+.01,0)-.01

  5. #5
    joeu2004@hotmail.com
    Guest

    Re: Roundup to .99 endings

    daddylonglegs wrote:
    > Perhaps
    > =roundup(a1+.01,0)-.01


    Killing an ant with a sledgehammer. I believe that has the same result
    as INT(price) + 0.99, at least for all positive numbers (prices!).


  6. #6
    joeu2004@hotmail.com
    Guest

    Re: Roundup to .99 endings

    mj99 wrote:
    > Trying to get every number in an excel file to roundup for retail price
    > points....
    > 20.34 = 20.99
    > 38.75 = 38.99


    =INT(price) + 0.99

    That will change $20 to $20.99. Is that what you want?


+ 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