+ Reply to Thread
Results 1 to 16 of 16

Dynamic Chart - 12 months

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Dynamic Chart - 12 months

    Hello, I have a series of graphs on a spreadsheet I was just assigned. I have been told they are only interested in the past 12 months on the graphs, so instead of changing each graph monthly, I would like to get them to auto update for the past 12 months. I have found this site http://peltiertech.com/Excel/Charts/DynamicLast12.html on several forums but cannot get it to work for me.

    Could I please get some assistance in moving to the right direction? I can see what the link is telling me to do but cannot get it to work, I am not sure if the directions are different for 2010 which I have, the page seems to be directed to 2003.

    OEE monthly measure .xlsx

    Thanks!

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    Hi kevinjay1,

    You shouldn't have any problems with the version of Excel, can you advise where you encounter a problem?

    Can you also outline the steps you take to create the chart?

    Cheers
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    Hello noboffinme,

    I followed the steps exactly as shown at http://peltiertech.com/Excel/Charts/DynamicLast12.html, even started a new sheet with the exact same values he had on his page, I created the ranges (?) exactly as he did, but when I go to add the chart, I have a blank chart, when I go to add the series and ranges, I get error messages. If you ctl-F3, you will see the inputs I have added. They are now showing REF errors because I deleted the tab the values were in

    Thanks for looking, Kevin
    Last edited by kevinjay1; 05-12-2014 at 08:49 AM.

  4. #4
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    Hi,

    I noticed that your Defined Ranges (Ctrl + F3) had errors.

    I've posted your file with the Peltier exercise in 'Sheet1' & it works OK.

    Can you have a look at the defined ranges & check against yours, you may have made an error copying the Formulas.

    Let me know how you go.

    Cheers

  5. #5
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    Nice looking graph you put in there first off, that is pretty sharp. And thank you for responding.

    Now for the nuts and bolts, how can I get the data in the "By Lab" and All Labs" tabs into the corresponding graphs? I have tried changing the data inputs and when I try to select data in column B on By Lab for example, it has cells B39:B50 (By Lab) selected which are all blank. I am not sure how to define the data to be used for the graph(s); the data series is currently ='dynamic-chart-12-months-oee-monthly-measure.xlsx'!chtValA, but I do not know how to point ValA into where I want it to go to create the graphs.

  6. #6
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    I have tried to get some formulas to work in here but still cannot get one, if I could get one graph down I could populate all the rest of them on my own, it's that first one that is killing me. The webpage I linked to on my original post really does nothing for me as it does not explain anything beyond setting up the basic graph.

    I tried to add 2 different ranges in the name manager (ctl-F3)
    GravOEEH
    HTML Code: 
    I would prefer to try and use one based off of
    HTML Code: 
    to give me the functionality of changing the graph period (12 months, 24 months) but that is not essential if it is too difficult

    I really do not understand the offset function and continue to get error messages without being able to do an error check so I do not know where the error is showing up or where the formula is pointing to.

  7. #7
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    OK, I've created the same exercise with the data in the 'By_Lab' worksheet.

    Note that I added an underscore in your worksheet name, better practice if you are going to use a worksheet name in a Formula.

    All this exercise & the Functions are doing is selecting the number of Cells (Changeable in Cell 'N2') in Column 'A' from the bottom populated Row

    It then reads across to the Column on the same Row that you want to chart.

    So you make the value in Cell 'N2' to 6 - it reads the last 6 months in Column 'A'

    Based on that, it charts the values (chtValA) 7 Columns to the right - same with chtValB but 10 Columns across.

    -----------------------------------------------
    A quick summary of the very useful OFFSET Function.

    All it does is refer to a Cell OR a Range of Cells based on what Cell is named in the Formula.

    It has four arguments (or parameters) 1.Rows, 2.Columns, & (Optional) 3. Height, (Optional) 4.Width

    So if you write the below in a blank Cell;

    Please Login or Register  to view this content.
    The result will show the value in the Cell 2 Rows below & 1 Column across from 'E5'
    ------------------------------------------------------

    Also, you need to adjust the Formulas to suit your data, the chtValA Named Range should be
    Please Login or Register  to view this content.
    because the value you want charted is 7 Columns from the Month Column - Air Target is 10 Columns from the Month Column.

    Hope this clarifies.

  8. #8
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    Thank you very much for your explanations, it makes sense now, and thank you for your patience. I need one more exercise in patience if you don't mind.

    I Hate to say this publicly, but here goes

    I cannot create a graph because I cannot add the ranges. I go to add series , type in =ChtValA (for example) and get an error message stating that my formula contains an error. I then try ='ChtValA', same message. I then try ='(worksheet name)'!ChatValA and get the same message. I can see where I need to go but am too dense to create a chart. I can see your formulas, I can see what data they are selecting, I can see why they are selecting that data, but a simple graph is now defeating me. I have looked at several different examples and actual sheets that are using this and have multiple defined ranges, but the graph is stopping me.

    I will now go and hang my head in shame......

    Edit: It must be this file, I have another one with dynamic ranges and am flying through it now, not sure why I can't get the naming right
    Last edited by kevinjay1; 05-14-2014 at 04:30 PM.

  9. #9
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    LOL, hang in there, we'll see what else we can try.

    Try these 2 options;

    1. Create a chart manually, that is select the range of Cells & Create a chart, now try to add a new Series based on the exercise instructions.

    2. Make sure you enter the Formulas EXACTLY as they are written in mine, If you have spaces in the workbook name, you need the apostrophes (' '), otherwise if you use By_Lab, apostrophes should not be used.

    Can you post your latest file, errors included, so I can check it out.

    Cheers

  10. #10
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    OEE monthly measures.xlsx

    Hello, Here is the full sheet I am working on. Thank you again for your help

  11. #11
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    Hi, I noticed that your data in 'By_Lab' has the Month Column populated below where the figures finish.

    Remember the Formula reads the populated values from the Bottom of Column 'A' & then reads the figures across from those Rows.

    If there's nothing there to read, nothing will appear in your Chart.

    I'm working on getting your file working in the meantime.

    Cheers

  12. #12
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    I've done the 'Charts_by_By_Lab' & added a Spin button to change the number of months to display in all 6 charts simultaneously.

    Have a look at the Named ranges & see if you follow how it works.

    Sometimes a report or dashboard looks intimidating but if you break it down into it's component parts, you'll see that you're capable of doing the same yourself.

    Let me know if you have any other questions.

    Cheers

  13. #13
    Registered User
    Join Date
    02-13-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007, 2010, 2003
    Posts
    80

    Re: Dynamic Chart - 12 months

    That was perfect, with your additions and other work I am doing on dynamic ranges, they completely make sense now. Helps to immerse yourself in something to understand it. Have a wonderful day and thank you again.
    Kevin

  14. #14
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    Glad I could help.

  15. #15
    Registered User
    Join Date
    01-18-2014
    Location
    RBG; Germany
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dynamic Chart - 12 months

    Hy folks,

    sounds you are "high profs" in dynamic charts !
    I'm searching for a solution like this but after screening the attached file - I could not follow.
    The used references made me struggling...
    You have a fixed cell information for the value "Graphs_combined" "M4"
    My table is looking differentFPM_StockPicker_20140529.xlsx
    What I'm searching for is that the chart - based on the table in 2nd tab is showing the graph for a certain addressed date "Day 1" till "Day 2"
    which is typed in manuel - and the chart is dynamic updated based on the entered dates.

    Is there a easy solution ?

  16. #16
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: Dynamic Chart - 12 months

    Hi diver4fun,

    I'll try to help you but you need to start a new thread.

+ 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. Dynamic chart for rotating months
    By rookst in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 02-27-2014, 11:53 AM
  2. [SOLVED] Dynamic cumulative SUM RANGE - different months
    By epsiloni in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2013, 11:36 AM
  3. countifs and dynamic ranges don't work when using multiple criteria
    By hgeorges in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-14-2013, 11:08 AM
  4. dynamic pivot on months
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2012, 12:42 PM
  5. [SOLVED] How do I create a dynamic series of months in excel?
    By TNH in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2006, 11:30 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