+ Reply to Thread
Results 1 to 3 of 3

Chart Data Labels and Format Codes - Multiple Criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    06-30-2009
    Location
    Southern California, Earth
    MS-Off Ver
    Excel 2010
    Posts
    72

    Smile Chart Data Labels and Format Codes - Multiple Criteria

    Hello,

    I've been using the Format Code
    0;;;
    with success to hide zero values on a chart. Now I'm looking for a way to display a decimal (
    #.0
    ) with the condition that the value is greater than zero and less than 10. The problem I'm having is making both of these work together, hiding zero values on the data labels and coming up with a way to display the small values (less than 10) with a single trailing decimal point.

    I've tried linking it to the source and doing something fancy with TEXT but that didn't seem to work. Is there any way for me to do the following:
    1. Have a chart with Data Labels set to Value
    2. Hide Values equal to zero
    3. Format values less than 10 with a single decimal
    4. Format values greater than 10 without a decimal

    Thank you for your time and I look forward to any clever ideas!

    Best Regards,
    Hoffey
    Last edited by hoffey; 10-21-2013 at 11:14 AM.

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Chart Data Labels and Format Codes - Multiple Criteria

    Hello Hoffey
    Maybe the following Custom Format:

    [>=10]#;[>0]#.0;
    Hope this helps.
    DBY

  3. #3
    Registered User
    Join Date
    06-30-2009
    Location
    Southern California, Earth
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: Chart Data Labels and Format Codes - Multiple Criteria

    Thanks a million, DBY. Works perfect!

    Best Regards,
    Hoffey

+ 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. Multiple Data Labels on bar chart?
    By HTWingNut in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 10-28-2013, 01:34 PM
  2. Format Chart Data Labels Alignment
    By MissaLissa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 04:11 AM
  3. Chart data labels format corresponding to data range
    By ABSTRAKTUS in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-19-2013, 03:05 AM
  4. Is there a way to format the data labels of several chart data series at once?
    By Alexander Plötz in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 11-10-2012, 01:01 PM
  5. Line Chart - Data Labels showing as Dollar ($) Format??
    By jamesryan in forum Excel General
    Replies: 1
    Last Post: 01-23-2009, 12:23 PM

Tags for this Thread

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