+ Reply to Thread
Results 1 to 3 of 3

Fixied Decimals with CONCATENATE

  1. #1
    Registered User
    Join Date
    06-10-2009
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Fixied Decimals with CONCATENATE

    Hello Again,

    Same spreadsheet as yesterday's question. I'm converting metric to British values and have no problem with fixing the decimals when displaying the number. However, I'm wanting to CONCATENATE the unit of measure to the conversion and end up with 12 places beyond the decimal.
    Entered formula is:
    =CONCATENATE(CONVERT(T5,"cm","in")," in")
    Results in 159.055118110236 in

    But = CONVERT(T5,"cm","in")
    Results in 159.1 which is what I want.

    Any ideas?
    Last edited by TimmyK; 06-11-2009 at 12:27 PM.

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Fixied Decimals with CONCATENATE

    Try this:

    Please Login or Register  to view this content.
    I hope this helps!
    starryknight64

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Fixied Decimals with CONCATENATE

    Try incorporating perhaps the Round function to round to 1 decimal...

    =CONCATENATE(ROUND(CONVERT(T5,"cm","in"),1)," in")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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