+ Reply to Thread
Results 1 to 4 of 4

Forcing 2 decimal points to value added to text string

  1. #1
    Registered User
    Join Date
    01-31-2008
    MS-Off Ver
    2010
    Posts
    38

    Forcing 2 decimal points to value added to text string

    Hi All

    I have the following formula for displaying some text along with the rate at which we pay it:

    CONCATENATE("Lodging Allowance @ £",Rates!C26)

    The value itself is on the 'Rates' sheet and it finds it ok but it displays the result as:

    Lodging Allowance @ £29.6

    ...I would have liked the extra '0' at the end, i.e.

    Lodging Allowance @ £29.60

    The value on the Rates sheet is indeed stored as 29.6 not 29.60 so I guess this is why it's happening.

    Any thoughts on how I can force the prices to be displayed correctly with 2 decimal points in the text string?

    Many thanks

    Brelin
    Last edited by Brelin; 08-04-2010 at 06:29 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Forcing 2 decimal points to value added to text string

    Try this

    =CONCATENATE("Lodging Allowance @ £",TEXT(Rates!C26,"0.00"))

    Hope this helps
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    01-31-2008
    MS-Off Ver
    2010
    Posts
    38

    Re: Forcing 2 decimal points to value added to text string

    Thanks Marcol that worked a treat!

  4. #4
    Registered User
    Join Date
    08-03-2014
    Location
    Litchfield, IL
    MS-Off Ver
    Office for Mac 2011
    Posts
    1

    Re: Forcing 2 decimal points to value added to text string

    Exactly what I needed. Thanks!

+ 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