+ Reply to Thread
Results 1 to 3 of 3

Round function in another formula? Simple?

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Round function in another formula? Simple?

    Hey everyone,

    trying to figure out something here. I have a list of numbers that I would like to keep in decimals to the hundreths. I have achieved this by using the round function. I am now trying to use that value inside another formula but the result does not retain the decimal places. Even if the item value is 12.00, I would like for it to show up in the text formula as 12.00 but it only shows 12. While this works for any number with a value other than zero in the decimal places, it doesn't retain the decimals when they are zeros. Could anyone help me on how I can achieve this?

    CELL A1: 37
    CELL B1: =round(a1,2) result: 37.00
    CELL C1: ="my height is "&b1 result: my height is 37

    I would like the decimal places to show in the result.

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

    Re: Round function in another formula? Simple?

    CELL C1: ="my height is "&Text(b1,"0.00")
    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
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,832

    Re: Round function in another formula? Simple?

    You can use this:

    ="my height is "&TEXT(b1,"0.00")

    to ensure 2 decimal places.

    Hope this helps.

    Pete

+ 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. [SOLVED] How to nest a ROUND function into an existing formula
    By cmac7872 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-12-2012, 05:05 PM
  2. Simple macro help, need to create a formula/function
    By Oilandgasmonkey in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-18-2012, 02:32 PM
  3. adding round function to if formula
    By jrortiz2 in forum Excel General
    Replies: 1
    Last Post: 10-01-2011, 06:28 AM
  4. VB Function Round vs Excel function Round not behaving the same Od
    By Bud in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2006, 12:45 AM
  5. [SOLVED] Function formula for simple worksheet
    By mouse in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-09-2005, 11:05 AM

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