+ Reply to Thread
Results 1 to 5 of 5

Round off

  1. #1
    Registered User
    Join Date
    06-13-2007
    Location
    Västervik, Sweden
    Posts
    42

    Round off

    Hello everyone, i should rly need some help with my excel-work.

    Atm, my problem is that i´ve made a funtion with "Round off" that makes the significans be "5" all the time. But the problem is that when the mesure reaches over 80 i need it to "round off" at even 10mm, like 90, 100, 110 etc instead of 85,90,95...

    If anyone got a sollution to this problem, please help me

    Thanks in advance

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning chojje

    This should do the trick :

    =IF(A1>80,CEILING(A1,10),CEILING(A1,5))

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    06-13-2007
    Location
    Västervik, Sweden
    Posts
    42
    Alright man thanks Cuz i´ve made so that the mesure is in one colum. In another colum i´ve then made so that the function gets the mesure and then "rounds" it off. So u´re saying that i should put the function that u wrote in the second colum?
    ( I hope u understand my poor "excel-english", third day at work ) Let me know if u´re swedish cuz i do know that language better ^^
    Last edited by chojje; 06-13-2007 at 04:23 AM.

  4. #4
    Registered User
    Join Date
    06-13-2007
    Location
    Västervik, Sweden
    Posts
    42
    And i´m not sure i understand your function "Celeing" eventhough i do know what i means. Trying to find the swedish version for the word, so that i can find it in Excel.

  5. #5
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    ceiling rounds a number up eg ceiling(57,5)=60 the ceiling is the top of a room
    floor rounds a number down eg floor(57,5)=55 the floor is the bottom of a room!
    round rounds to the nearest digit of significance round(57*2,-1)/2 =55

    so it depends what round off means, if it is up, down or to the nearest, you take your choice
    =IF(A1>80,CEILING(A1,10),CEILING(A1,5))

    or
    =IF(A1>80,floor(A1,10),floor(A1,5))

    or
    =IF(A1>80,round(A1,-1),round(A1*2,-1)/2)

    Regards

    Dav

+ 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