+ Reply to Thread
Results 1 to 8 of 8

Formating bar chart labels

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Post Formating bar chart labels

    I've created what I call a waterfall chart, a bar chart moving from budget to actual with the explaning variances moving up or down depending on the given periods results. a bunch of nested if statement pick out the color red for negative and blue for positive. but the labels appear inside the bar. How do I get the label either just above or just below the bar? Preferably just above with positive results and just below with negative...

    so the data looks likt this:
    Target Income Expense Income Result
    Bgt GP OP Exp Non-Op Actual

    pretax NI Before Alloc 3,939 3,759
    New Base 3,604 3,604 3,656
    positive var Above - 52 102
    Pos Var Below - - -
    Neg Var Above 334 - -
    Neg Var Below - - -
    ending base 3,939 3,604 3,656 3,759 3,759

    I have been moving the labels around manually for years and wondered how I might automate this?

    Thank You for your consideration!
    Cheers
    grasstoe

  2. #2
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Formating bar chart labels

    Waterfall data.pngWaterfall chart.png
    Hopefully easier to read, sorry first time posting

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

    Re: Formating bar chart labels

    Simplest things would be to use xy-scatter series to plot data labels exactly where you want.
    Then link the data labels to cells to display the information you want.

    This free utility will make linking cells to data labels easier
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Formating bar chart labels

    Excellent, Thank You.

    I have read several references to this XY-scatter series, now I will have to see if our IT department will let me use it. I tried explaining what I was looking for to a friend and realized the existing limitation came from using a stacked bar graph. I made the base of the stack transparent leaving only the variance and had forgotten that a full stack was still present... So this will let me reference cells with the data label values I want conveyed and then reference other cells that tell it where on the graph to position the labels?

    I am excitied to try this out. It may take a while to get through IT but I will report back when I get the chance to play with this.

    Cheers
    grasstoe

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

    Re: Formating bar chart labels

    If you have the patients you can always do it manually. The approach works for data labels to, just select the data labels and then select a single data label before entering the reference.

    http://www.andypope.info/tips/tip001.htm

  6. #6
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Formating bar chart labels

    Wow,

    there is a ton of great stuff there, but I am not sure how I manually position values like 52 above a bar that tops out at 3,656? Maybe I didn't find the right page on your link?

    Cheers,
    grasstoe

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

    Re: Formating bar chart labels

    You create a xy data point using the true data values for Y and x value of 1 for each column center, so 52 would have X=4 and Y=3656.
    You then linke the data label to a cell containing the value 52.

    If you only have a single label for each stack you could even use a line chart on the secondary axis and use category labels as per attached
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Formating bar chart labels

    amazing Thanks 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. Change chart/pivot table numeric labels to associated text labels
    By petschek in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-07-2014, 05:32 PM
  2. Replies: 3
    Last Post: 03-23-2012, 05:44 PM
  3. Excel 2007 : Chart Labels in 07
    By ctmaine in forum Excel General
    Replies: 1
    Last Post: 04-02-2010, 09:42 PM
  4. [SOLVED] Chart labels disappear - How do I refresh the chart?
    By jcloydjcloyd in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-30-2006, 02:55 PM
  5. chart labels?
    By X Charter in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-04-2005, 01:07 AM

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