• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Display text numbers (custom format)

3G

Member
Ok, now that I have my charting issue resolved, I need to add some data labels. In a cell placed directly above the stacked column I have the following:


="Current Total: "&(ROUND(('(t)Hours By Role'!E71),0))


The number displays as 34345, when, I need it as 34,345. How can I format this cell so the text looks as it does, but, the number has the "," for the 1000 separator?
 
You can use the TEXT function to set formatting on values, like so:


="Current Total: "&TEXT(ROUND('(t)Hours By Role'!E71,0),"#,###")


actually, if you're going to use the TEXT function, you could skip the ROUND part:

="Current Total: "&TEXT('(t)Hours By Role'!E71,"#,###")


since that formatting will automatically cause the value to be rounded to nearest integer.
 
Back
Top