+ Reply to Thread
Results 1 to 2 of 2

Changing digits after decimal to specific digits based on a criteria

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Fairfax, Va
    MS-Off Ver
    Excel 2003
    Posts
    1

    Changing digits after decimal to specific digits based on a criteria

    Need a formula that allows me to do the following:

    any price that is .49 and lower, round to .49
    any price that is .50 and greater, round to .99


    So for example 1.39 or 1.49, would round to 1.49
    And 1.50 or 1.60 would both round to 1.99

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

    Re: Changing digits after decimal to specific digits based on a criteria

    Maybe

    =int(a1) + if(mod(a1,1)<=0.49, 0.49, 0.99)
    Entia non sunt multiplicanda sine necessitate

+ 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