+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : rounding numbers

  1. #1
    Registered User
    Join Date
    03-26-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    6

    Red face rounding numbers

    SOLVED
    Hello all,
    I'm trying to round numbers. When I access the cell the number is a whole number but when I try to multiply it ,it becomes a number with a decmil point as in 45.2 when I would like it to be 45 any help on this ?this is excell 2007
    Last edited by joemoran; 03-30-2009 at 03:57 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: rounding numbers

    It sounds as though the formatting on the cell is possibly set to a whole number but formatting does not alter the underlying value (unless using Precision as Displayed which is not advised)

    For ex... if we say cell A1 holds your value - what does =MOD(A1,1) return ?
    I presume 0.2 ?

    If you want A1 to hold 45 rather than 45.2 you need to alter the value - if it's generated by a formula, ie A1: =B1 and B1 holds 45.2 you can get A1 to hold 45 by using: =ROUND(B1,0)

    Alternatively you can alter your other formulae where you are multiplying A1 by using ROUND at that point, eg:

    C1 =ROUND(A1,0)*2

    should equal 90 rather than 90.4

    Does that help ?

  3. #3
    Registered User
    Join Date
    03-26-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: rounding numbers

    thanks for the reply,
    No that didn't work

  4. #4
    Registered User
    Join Date
    03-26-2009
    Location
    florida
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: rounding numbers

    solved
    I worked out a solution .

  5. #5
    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: rounding numbers

    Well, DO, you apparently need to work on your rounding skills. The OP's solution was clearly superior.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: rounding numbers

    Indeed... I'm obviously struggling to get my crystal ball to work effectively today...

+ 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