+ Reply to Thread
Results 1 to 2 of 2

Months comparison charts

  1. #1
    Registered User
    Join Date
    09-11-2015
    Location
    Vienna
    MS-Off Ver
    Windows 7
    Posts
    6

    Months comparison charts

    Hi guys,

    could you please advise me on a nice Chart for a comparison of two months within two years. I have already atthached the data.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Months comparison charts

    This took some doing. The data was in bad shape.

    First of all, it was strung out instead of normalized. Strung out data is OK as a final report, but it means that each month has to be looked at separately.

    So I normalized the data. See the attached zip file. It contains the instructions, code and a sample of how to do this.

    Once I had the data normalized, I had to convert the date strings into actual dates. The string had embedded spaces and line breaks, so it took a bit of playing with the MID function to parse out the year and month.

    Once I got that done, I then made a pivot table of it.

    Now if you want to do a side-by side comparison (2014 on the left and 2015 on the right), you could make a chart directly off this pivot table. However, if you want to stack the individual months side by side, you will have to make the chart manually.

    Select a cell not in the pivot table. Go to Insert and insert the kind of chart you want.

    Then right click in the blank chart.

    Select select data.

    Add a series

    Give the series the name 2014 Call Center.

    For the values, highlight Cells B16 to B16.

    Add another series

    Give the series the name 2015 Cell Center

    For the values, highlight Cells B18 to B28

    And so on for each item.

    Finally, edit the X-axis and highlight cells A6:A16.

    In the sample I did Call Center and Desk.

    If you are sure that you will always have data for each month, then these fixed positions will work. Otherwise, you may have to make named dynamic ranges.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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 Charts For Comparison
    By NeedForExcel in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-30-2016, 07:21 AM
  2. Charts: Only showing months with data
    By amartino44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-05-2013, 03:53 PM
  3. Dynamic charts with a week view comparison
    By yourskarthik1983 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-15-2010, 06:30 AM
  4. Graphing months in line charts
    By Spar43 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-19-2009, 12:22 AM
  5. Same Charts Different Months
    By Soltisolti in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-20-2006, 12:27 AM
  6. Automatically update charts for only the most current 12 months?
    By AIEC33 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-27-2006, 11:35 PM
  7. Why are some months truncated on my Excel charts?
    By parisi28 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-24-2005, 05:44 PM

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