+ Reply to Thread
Results 1 to 9 of 9

Can a Chart Data Label Display Text?

  1. #1
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Can a Chart Data Label Display Text?

    I have a chart that plots ratios that are calculated by a formula in a table. If the demonstrator is zero rather than display an error (DIV/0) I have the formula display "ND" meaning No Data. The chart data label displays the number "0" and not "ND". Is there a way for the chart data label to display the "ND" instead of "0"?
    Last edited by Bobbbo; 12-31-2016 at 04:28 PM. Reason: Mark it solved

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Can a Chart Data Label Display Text?

    1) Apply the data labels to the chart.
    2) Click on any of the data label values to select them all.
    3) Click on any of the data labels again to select only one.
    4) When only one is selected type an equals sign into the formula bar and then click on the cell that contains the relevant value.
    5) Repeat for each of the data labels.

    See attached.

    BSB
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Re: Can a Chart Data Label Display Text?

    Quote Originally Posted by BadlySpelledBuoy View Post
    1) Apply the data labels to the chart.
    2) Click on any of the data label values to select them all.
    3) Click on any of the data labels again to select only one.
    4) When only one is selected type an equals sign into the formula bar and then click on the cell that contains the relevant value.
    5) Repeat for each of the data labels.

    See attached.

    BSB
    Thanks BadlySpelledBuoy, I have 15 chart each having 17 data labels so I have to do that to 255 labels. Do you know of an easier way?

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Can a Chart Data Label Display Text?

    That's the only method I know of for Excel 2010 I'm afraid. Someone may come along with a better solution though. I know I'd be keen to see it.

    You could possibly write some VBA to do this for you.

    BSB

  5. #5
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Re: Can a Chart Data Label Display Text?

    Quote Originally Posted by BadlySpelledBuoy View Post
    That's the only method I know of for Excel 2010 I'm afraid. Someone may come along with a better solution though. I know I'd be keen to see it.

    You could possibly write some VBA to do this for you.

    BSB
    Thanks BadlySpelledBuoy, I will wait and see if anyone else has a easier solution before I take on this task. Though it is a good idea, it would take me longer to write VBA code, then to just manually do what you said.

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Can a Chart Data Label Display Text?

    Hi,

    There is not any easier way in Excel 2010- VBA would be necessary.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Can a Chart Data Label Display Text?

    To save writing code use this free addin.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Cheers
    Andy
    www.andypope.info

  8. #8
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Re: Can a Chart Data Label Display Text?

    Quote Originally Posted by Andy Pope View Post
    To save writing code use this free addin.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Hi Andy, What a wonderful Add-In. It adds the same formulas BadlySpelledBuoy suggested in on simple step per chart! That is what I love about this forum, there are such nice people and resources here. Thank You Thank You Thank You

  9. #9
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Re: Can a Chart Data Label Display Text?

    Quote Originally Posted by Andy Pope View Post
    To save writing code use this free addin.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Hi Andy, What a wonderful Add-In. It adds the same formulas BadlySpelledBuoy suggested in on simple step per chart! That is what I love about this forum, there are such nice people and resources here. Thank You Thank You Thank You

+ 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. Pivot Chart not displaying data label values for the first Legend label
    By zykkzxxy789077 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-24-2016, 05:46 AM
  2. [SOLVED] How to superscript portion of data label text of a chart
    By junoon in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-30-2013, 11:50 AM
  3. [SOLVED] Changing all columns in a chart to display a series name label
    By moty.98 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-26-2012, 05:09 AM
  4. Replies: 6
    Last Post: 10-10-2012, 01:54 PM
  5. [SOLVED] How do I force a chart to only display the label for one person
    By dip11 in forum Excel General
    Replies: 3
    Last Post: 09-11-2012, 09:37 AM
  6. userform, label text display value depends on user input
    By kp7qc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2011, 05:09 PM
  7. [SOLVED] How change dimensions of data label text box in pie chart?
    By Gouden Willem in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-07-2006, 08:20 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