+ Reply to Thread
Results 1 to 3 of 3

Showing two values stacked but also showing their individual lines all on the same graph

  1. #1
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Question Showing two values stacked but also showing their individual lines all on the same graph

    Hi
    I'm not sure if this is possible, but I'll ask anyway

    I have 2 separate charts made from formulas where the name (in this case Name 3) is actually the same person - One on the "Linux Assigned" tab line chart and One on the "Unix assigned" tab line chart. What I would like to be able to do is show all 3 on the same chart.

    i) The line graph for the Linux assignment
    ii) The line graph for the Unix assignment
    iii) the line graph for the combined Unix and Linux assignment.

    This is further complicated because I have had to have formulas created as I want my graphs to auto update with the 110 days from today so it keeps rolling forward. As such I have a calc tab at the end, formulas and entries in Name Manager which drive this process.

    Is there a simple way to show the 2 individual and then stacked version on the chart on the same one?.

    If so your advice would be appreciated?

    Thanks

    Rob
    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: Showing two values stacked but also showing their individual lines all on the same gra

    At first I thought I would have to define a lot of named dynamic ranges to make this work. Instead I found that I could make it work with Excel Tables and VLOOKUPs. I used tables for several reasons: they are easy to reference and they know how big (how many rows and columns) they are.

    Take a look at the Linux Unix Chart Tab.

    Cell B1 contains today's date. Cell B2 is the employee of interest. This must match the table column name and I do not have data validation on it.

    Cells B5:B115 contain the dates. Column C Contains the Linux resources for the date, Column D contains the Unix resources and Column E is the combined.

    About the only trick in the VLOOKUPs is COLUMN(INDIRECT("Table_Linux_Resources[" &$B$2 & "]")) - this finds the column in which the employee of interest is found. I suppose I could have used MATCH instead.

    To learn more about tables, see this article: http://www.utteraccess.com/wiki/inde...ables_in_Excel.
    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.

  3. #3
    Registered User
    Join Date
    03-22-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Showing two values stacked but also showing their individual lines all on the same gra

    Hi dflak
    Thats exactly what I wanted - thank you thats perfect.

    Rob

+ 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. Not showing zero values on a graph but keeping the existing format
    By wilksy in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-24-2013, 10:38 AM
  2. My stacked column Bar chart is not showing the right data!
    By JamesR12 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-14-2013, 07:11 AM
  3. Stacked Column Chart showing the Limits
    By rose4emi in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-12-2012, 04:15 AM
  4. Analysis trend showing two lines in one graph
    By KMTrombley in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-21-2011, 03:48 PM
  5. Same values showing on graph
    By rushdenx1 in forum Excel General
    Replies: 1
    Last Post: 03-02-2009, 06:01 PM
  6. Showing individual data points in bar graphs
    By Excellist in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-30-2007, 06:32 PM
  7. [SOLVED] Stacked Columns - Showing Values
    By Connie Martin in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-11-2006, 02:50 PM
  8. [SOLVED] overlay average & goal lines to bar graph w/out showing in legend
    By Violet Maven in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-11-2005, 08:05 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