+ Reply to Thread
Results 1 to 3 of 3

Rounding formula help

  1. #1
    Registered User
    Join Date
    05-27-2011
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Rounding formula help

    Hi, I am combining multiple cells of data into one cell and also rounding to two decimal points. My formula that I am using is this:
    =C1&"/"&ROUND(C2,2)&"0/"&ROUND(C3,2)&"0/"&ROUND(C4,2)&"/"&ROUND(C5,2)
    so it will come out like this: 1904/1.10/214.50/1903.97/-1.16
    the problem I am running into is anywhere a number has a zero after the decimal point in the original cell example (1.00) it comes out just (1) with no decimals in the merged cell. Is there a way around this at all? if I do it on another cell but only take that data and not combining all the other cells it works fine. And it only does it with numbers that end in zero after the decimal.
    Any help would be appreciated
    Thanks

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Rounding formula help

    Try

    =C1&"/"&TEXT(C2,"0.00")&"0/"&TEXT(C3,"0.00")&"0/"&TEXT(C4,"0.00")&"/"&TEXT(C5,"0.00")

  3. #3
    Registered User
    Join Date
    05-27-2011
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Rounding formula help

    Thank you so much Bob it worked perfectly!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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