+ Reply to Thread
Results 1 to 5 of 5

Round off

  1. #1
    Registered User
    Join Date
    07-14-2011
    Location
    Jax
    MS-Off Ver
    Excel 2003
    Posts
    27

    Round off

    I want numbers to appear in the below mentioned format

    56.30 = 56
    57.50 = 58
    56.49 = 56
    57.51 = 58

    Using roundup, rounddown & round I can achieve desired functionality? Which is the best way to do this

    When I perform addition and substraction on the converted cells it consider decimal places and show deviated result.

    How can I get the desired results.

    56+58+56+57 = 227 (CORRECT)
    56.30+57.50+56.49+57.51=227.80(INCORRECT)

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Round off

    ROUND will bring numbers at .5 and higher up and .49 and lower down.

    Are these numbers coming from a formula and you want to round them or are people entering them manually and you want them rounded at input? If the second, do you want them rounded in the cell they are inputted or can it be in an adjoining column?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-14-2011
    Location
    Jax
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Round off

    they are coming from formula

  4. #4
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Round off

    Try to use Round( ...,0), like this
    Assuming:
    A1=36
    A2=20.3
    The result cell (B1), using the following formula:
    =Round(A1+A2,0)
    Best regard, -)iger-/iger
    If you are pleased with a solution mark your post SOLVED.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Round off

    =SUMPRODUCT(ROUND(A1:A4,0))
    56.30 = 56
    57.50 = 58
    56.49 = 56
    57.51 = 58
    gives total of 228 from above example
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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