+ Reply to Thread
Results 1 to 12 of 12

concatenating for a chart label

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    concatenating for a chart label

    Hello. I have a spreadsheet that I'm trying to use to add a concatenated value for data labels. However when I concatenate the cells, the percentage cell returns a number instead of the percentage. Help!! Spreadsheet attached.

    Alex
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: concatenating for a chart label

    Hi amma,

    Please find attached document for your reference.

    Just replaced the formula from "=B3&" , "&C3" to "=B3&" , "&TEXT(C3,"0.00%")".
    Attached Files Attached Files
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: concatenating for a chart label

    Cool, one more question: How do I add a comma for the number? It doesn't format it as a regular thousands with a comma. Not sure why.

  4. #4
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: concatenating for a chart label

    Also, how do I add that into the data label? I can select the cell that I concatenate but how can I concatenate the two values WITHIN the data lable?

  5. #5
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: concatenating for a chart label

    Quote Originally Posted by ammartino44 View Post
    Cool, one more question: How do I add a comma for the number? It doesn't format it as a regular thousands with a comma. Not sure why.
    Just replace your current formula from - "=B3&" , "&TEXT(C3,"0.00%")" to "=TEXT(B3,"#,##0")&" , "&TEXT(C3,"0.00%")"

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: concatenating for a chart label

    This should do it:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: concatenating for a chart label

    Quote Originally Posted by ammartino44 View Post
    Also, how do I add that into the data label? I can select the cell that I concatenate but how can I concatenate the two values WITHIN the data lable?
    That would not give you clarity. I have attached updated workbook see if it serve your purpose.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: concatenating for a chart label

    Both of those formulas change the number to millions. What's the difference between # and 0?

  9. #9
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: concatenating for a chart label

    Quote Originally Posted by ammartino44 View Post
    Both of those formulas change the number to millions. What's the difference between # and 0?
    "0" refer to "Digit placeholder that displays insignificant digits (ie. digits that are zero)"
    "#,##0" refer to Displays commas in between every three digits, for all values exceeding three digits

  10. #10
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: concatenating for a chart label

    @ ADHAWAN06. Thanks for that. I actually have two columns I'm comparing (in my real data set) and the second is a % increase. It's weird that your formula works but in my spreadsheet it converts it to millions. I'll try again.

  11. #11
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: concatenating for a chart label

    Hi Amma,

    Thanks for sharing your feedback, If possible please share that original file (may be some content) else I wish you get your solution soon.

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: concatenating for a chart label

    Is this what you are looking for?
    Attached Files Attached Files

+ 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. With a move label macro, prevent label from moving onto another label
    By SocratesJC in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-09-2014, 12:34 AM
  2. [SOLVED] Concatenating two columns and reversing after concatenating the result
    By irfanparbatani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2014, 09:35 PM
  3. Concatenating a label on x axis on Line Graph
    By ChemistB in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-04-2007, 04:51 PM
  4. [SOLVED] Bar chart - Label in the bar
    By Randhir in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-11-2006, 04:10 PM
  5. [SOLVED] Concatenating Text and Date in a chart series Name box.
    By Richard Buttrey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-27-2006, 08:30 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