+ Reply to Thread
Results 1 to 14 of 14

Stacked Column Chart with multiple data groups

  1. #1
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Stacked Column Chart with multiple data groups

    How do I get the forecast and actual to be in different columns? It would seem like with the data being in the row, I'd be able to set that.. but I can't figure out how.
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Stacked Column Chart with multiple data groups

    Hello,

    Looks like you are after a clustered stacked column chart. These don't come pre-defined in Excel, but you can create them by re-arranging your data a bit.

    Jon Peltier has a step by step walk through on his site.

    cheers, teylyn

  3. #3
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    I've been staring at that page for a few hours. I wasn't sure if that's what I really needed to do.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Stacked Column Chart with multiple data groups

    Yes, if you want clustered stacked columns, then that's what you need to do.

    Don't get overwhelmed. Take it one step at a time. If you get stuck, pipe up and I'll be glad to help.

  5. #5
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    I've been following it, but my results aren't matching his. Do I need to rearrange the data? It's not setup the same way.

  6. #6
    Registered User
    Join Date
    04-20-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    22

    Re: Stacked Column Chart with multiple data groups

    Is this attached worksheet achieve your objective ?
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Stacked Column Chart with multiple data groups

    Quote Originally Posted by dspblues View Post
    I've been following it, but my results aren't matching his. Do I need to rearrange the data? It's not setup the same way.
    I find that much of charting in Excel is not about the charts themselves, but about the way data is arranged in the spreadsheet. I would suggest that, yes, you should arrange your data the same way Jon arranges his data -- at least until you are completely familiar with how and why his spreadsheet layout works for this chart type.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  8. #8
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    Quote Originally Posted by Mohamed.Mohyeldien View Post
    Is this attached worksheet achieve your objective ?
    No, but thanks for trying. I need the cost by quarter/year view and the columns should be forecast vs. actual.

    The only problem with what I have is the forecast and actual are in the same column. - Not correct.

  9. #9
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    I find that much of charting in Excel is not about the charts themselves, but about the way data is arranged in the spreadsheet. I would suggest that, yes, you should arrange your data the same way Jon arranges his data -- at least until you are completely familiar with how and why his spreadsheet layout works for this chart type.
    I'd do that, but my data is slightly different than his.
    Last edited by dspblues; 04-21-2015 at 11:30 AM.

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Stacked Column Chart with multiple data groups

    Yes, it is, but not dramatically so. Can I assume that you are allowed to copy/paste/rearrange/manipulate the spreadsheet? This is one of those charts where data layout will be critical. We cannot create a clustered stacked column chart from the data layout as it is, but, it should not be overly difficult.

    The first thing I note in Jon's tutorial is that he will have his data in columns. In his example, he puts "commodities" across the x axis (going down the column), the budget values are on the y axis (also going down each column), and each quarter's actual and budget as individual data series. The main difference between Jon's layout and yours is that you have the commodity actual below the commodity forecast values, where Jon would have the actual values off to the right of the forecast values. Would you be able or allowed to move (cut and paste will work) D8:P10 do that these values start in Q5? Once you have done that, your data layout should be the same as Jon's, and you should be able to follow the tutorial to get the same result that he gets.

    I would suggest going that far just to get a handle on how it all works. If, at the end, you decide you want quarters on the x axis (instead of commodities), it should be the same thing, only you will want to transpose the data before you start.

  11. #11
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    Layout isn't critical, I can change it.

    Part of the difference is I have 3 "commodities", but I really want them in the same stacked column. What I want in separate columns is the Forecast vs. actual.

    In adding the "actual" amounts to a new column names 1Q - Actual is a workable solution, but I thought there would be a better way.

  12. #12
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Stacked Column Chart with multiple data groups

    Part of the difference is I have 3 "commodities", but I really want them in the same stacked column. What I want in separate columns is the Forecast vs. actual.
    If I understand what you mean by this, as I suggested above, you should simply need to "transpose" the data (so quarters are down the left side of the table) and commodities are across the top of the table. It is, otherwise the same procedure.

  13. #13
    Registered User
    Join Date
    06-12-2009
    Location
    Chester, NY
    MS-Off Ver
    Excel 2013
    Posts
    89

    Re: Stacked Column Chart with multiple data groups

    OK, let's say I do that. Apples, Oranges, Bananas across the top in columns. Then quarters and years in the rows.

    Where does my forecast vs. actual come into play?

  14. #14
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Stacked Column Chart with multiple data groups

    In Jon's tutorial, he has columns labeled "Q1 actual", "Q2actual", "Q1 budget",.... Your column labels would be "apples forecast", "oranges forecast", "bananas forecast", "apples actual", "oranges actual", "bananas actual".

+ 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. Stacked Column chart that groups dates by month
    By bigban in forum Excel General
    Replies: 2
    Last Post: 07-08-2011, 05:37 AM
  2. Multiple Axes on a stacked column chart
    By Ieai Aio in forum Excel General
    Replies: 1
    Last Post: 05-07-2011, 05:59 AM
  3. Replies: 2
    Last Post: 09-28-2010, 07:29 AM
  4. Any way to build one stacked bar chart for three groups of data?
    By Fred in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-16-2006, 11:20 PM
  5. [SOLVED] stacked column chart across multiple columns
    By Joe in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-09-2006, 11:10 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