+ Reply to Thread
Results 1 to 4 of 4

Rounding numbers and formulas

Hybrid View

  1. #1
    Registered User
    Join Date
    09-04-2008
    Location
    Houston, Texas
    Posts
    3

    Rounding numbers and formulas

    I am trying to use numbers rounded to 1 decimal place in formulas with a constant. The formated cell rounds to 1 decimal place but the cell with the formula uses the entire number in the formated cell

    Ex. 42.7 is the cell formatted to round to 1 place
    42.664237 is the actual number

    The constant equation is ((A1-38.3)/38.3)+1 . This cell is formatted to round to 4 places

    Answer 1 is :1.1149
    Answer 2 is :1.1139

    Is there a way to just use the rounded number?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Yes, use the ROUND function (there are others you might want to look at too; CEILING, FLOOR, MROUND, ROUNDDOWN, ROUNDUP, INT, TRUNC depending on your rounding criteria). For ROUND, your formula would be
    =ROUND(((A1-38.3)/38.3)+1,1)
    Does that work for you?

    ChemistB
    PS. Excel uses Symetrical Rounding around zero when the rounding digit is a 5.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719
    ChemistB's suggested formula uses the unrounded value in A1....but rounds the overall result to 1 decimal place. From your description it sounds like you want to use the rounded A1 in the equation. To do that you could use this formula

    =(ROUND(A1,1)-38.3)/38.3+1

    which can be simplified to

    =ROUND(A1,1)/38.3

    The result of that won't be rounded at all. You could use another round function to round to 4 decimal places....or just display 4 places

  4. #4
    Registered User
    Join Date
    09-04-2008
    Location
    Houston, Texas
    Posts
    3
    Thanks ChemistB,

    It worked the first try

    Moonpie

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formulas using data in a linked worksheet
    By Excellist in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2008, 06:16 PM
  2. hiding numbers when drag formulas
    By plato in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 03-30-2008, 07:48 PM
  3. Totalling a row of numbers generated by formulas
    By retiredjhawk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-09-2007, 01:07 AM
  4. Replies: 2
    Last Post: 11-23-2006, 01:41 PM
  5. Converting formulas into numbers
    By kasio in forum Excel General
    Replies: 2
    Last Post: 11-01-2006, 07:29 PM

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