+ Reply to Thread
Results 1 to 6 of 6

File I Sent NOt working

Hybrid View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    =ROUND(A1/4, 0) * 4

  2. #2
    Registered User
    Join Date
    02-21-2008
    Posts
    40

    Round

    If I do this
    round(.51/4,0)*4, I do not get an answer. I was hoping to get .50
    I was hoping to get to the nearest .25. ????

    If the value was .10, I will use the ceiling function, because if I have a value over .10 then I want to go up to .25, but all other values above .25 should go to the nearest .25. I will use and if statement if the value is below .25 THEN USE the ceiling and if above then use the round or mround.

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

    =ROUND(0.51/0.25,0)*0.25
    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.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Sorry, Danielle, typing too fast. I meant =ROUND(A1 * 4, 0) / 4.

    NBVC got the equivalent right -- the first time

+ 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