+ Reply to Thread
Results 1 to 12 of 12

Dynamic chart with changing dates and N/A

  1. #1
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Dynamic chart with changing dates and N/A

    Hello all,

    New member and first-time poster so bear with me. please.
    I have a fairly large piece of training data. The end goal I have is to create a dynamic chart where I could insert two dates in cells for the corresponding time frame I’d like to investigate and then choose with a ticked box what metric to see.
    There a log date corresponding to exercise done on that day. Usually there are many exercises per day, so the date column isn’t consistent.

    Now the information I’d like to see in the chart is in many columns but I’m trying to get one thing to work first and then expand…
    Let’s say I want a view of my development for my Bench estimated one rep max or e1RM (column DE). The e1RM column is a formula as to filter out the rest of the movements per week.
    What would be the best way to make a chart where I could with two cell inputs create the range I want to see for the development of my e1RM?
    I though a dynamic chart would be the answer and stumbled upon:

    Youtube:
    Excel Dynamic Chart Range based on Cell (drop-down) Value for dashboards

    but when I get to making the index function for the e1RM column I get #N/A as a result… it doesn’t help if I change the formula in column DE N/A=>”” since it seems that the index function doesn’t like functions.
    What should I do? How should I change my chart to be able to do this? Is my thinking completely wrong and I should be doing this a different way?
    I apologize for the long post, but I didn’t know how to explain it any shorter. Any help is highly appreciated.

    Pascal
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Dynamic chart with changing dates and N/A

    Hi and welcome
    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    Hello,

    OK, hopefully I can make my goals a little bit clearer this time.

    I have a lot of data from many months and years. I'd like to have have chart which gets its X-value from two cells which are dates so I can see the progress within a specific time frame.
    The progress could be e.g. column AU (e1RM).

    The main goal being one chart which has all e1RMs (=AU, BC, BK, BS) which I can disable and able with tick boxes so I can see one or multiple e1RMs in one chart within a specific time frame.

    BR
    Pascal
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,531

    Re: Dynamic chart with changing dates and N/A

    Hello Pascal Oleva and Welcome to Excel Forum.
    It is hard to help as there are no values in columns AU, BC, BK or BS. Those columns all depend on the formula in column K which has eight #REF!'s. If you could update the formula in column K, that may make things more understandable.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    Oh man! Sorry. I mended it now...
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,531

    Re: Dynamic chart with changing dates and N/A

    I am going to encourage you to look at a pivot table option.
    The pivot table is produced from columns A:K of the data on sheet3.
    Row values are Date and Move, and the e1RM's are values.
    The chart is controlled using two slicers, one for date and the other for move.
    Note that only the dates related to a particular move will be active, and that they are at the top of the slicer list. To test select 16.3.19 and, with the left mouse button still pressed, 23.3.19. Next test by selecting the three active dates 10.3.19 - 23.3.19. Remember to keep the mouse button pressed continuously while selecting.(alternately you may select the first date, press the Shift key and then select the last date.)
    You can use the Move slicer to select more than one exercise, if that is of any use.
    Let us know if you have any questions.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    Whoa... Have to do some pivot table learning. Thank you I'll try this!

  8. #8
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    Attachment 618665

    This is great!!

    Now that I got it going...

    1) Can I somehow get into the same chart multiple moves? If I try to just add from the slicer it for some reason doesn't show all data?

    2) Can I have many sum values which I can choose from? They do not have to be active the same time... E.g. Tonnage and Volume... I can of course go into the pivot table fields and change them manually but if there's a way to do it cooler?

    Thank You!

    PS
    Spreadsheeting is a legitimate hobby!!

  9. #9
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    ... oh yes... one thing to add...

    I had some data between those columns in the example. For some reason the pivot table didn't work until I put them aside.

    "The PivotTable field name is not valid. To create a PivotTable report, you must use data that is organized as a list with labeled columns. If you are changing the name of a PivotTable field, you must type a new name for the field."

    Any idea what this means? These were coulumns with calculations. Some where grouped and merged but I tried testing different variations but couldn't come up with why some columns made an error.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,531

    Re: Dynamic chart with changing dates and N/A

    When I attempt to open the attachment I get the message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator"
    Please reupload the attachment by clicking on the GO ADVANCED button below the Quick Reply window and then scrolling down to Manage Attachments to open the upload window. Note that the paperclip icon does not work.
    As to post #8
    1) When the dates March 3 and March 16 are selected in the left slicer then only the moves bench, 2 ct bench and squat w/belt are selectable as those are the only moves done on those dates. If you clear the date filter on the left slicer and chose March 3 through March 16 then all the moves are available, although they will be charted on one line which may not be useful.
    2) If you only want to display one value at a time you'll need to do that through the field list. You can however display two values on the chart and assign a vertical axis to each. In the attached the e1RM uses the left axis and the V (volume?) uses the right. I can not demonstrate with T (tonnage?) as that column shows only #REF's on my copy.
    I am not sure as to what data is being referred in post #9 and it may pertain the attachment in post #8 which has already be discussed. I can say that in my opinioin merged cells make analysis difficult at best and would suggest avoiding them.
    Let us know if you have any questions.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    03-22-2019
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    7

    Re: Dynamic chart with changing dates and N/A

    Hi JeteMc,

    Thank you for your answers. I think the attachment was just a picture from the PivotTable error... no biggie.

    1) OK. Noticed that the date slicer affects the Move slicer. Was hoping for a workaround... perhaps possible with VBA but that's where I draw the line when it comes to excel...

    2) Jupjup... I can get Volume and e1RM to show on the same chart which is great. Was maybe hoping to put a slicer sort of thing to the Values so I can more easily choose them. Oh, well you cannot have everything.

    Thank you for all your help!

    BR
    Pascal

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,531

    Re: Dynamic chart with changing dates and N/A

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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 with changing axis
    By araza123 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-29-2018, 12:08 PM
  2. Dynamic Chart Not Changing (With Conditional Coloring)--Example Attached
    By jsgrunwald in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-25-2013, 11:57 AM
  3. Dynamic Charts and Changing Dates
    By dholzman87 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-17-2011, 06:30 PM
  4. Dynamic Charts and Changing Dates
    By dholzman87 in forum Excel General
    Replies: 0
    Last Post: 12-08-2011, 04:57 PM
  5. YValues in Dynamic Chart changing to =[0]!
    By agrajag42 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-09-2009, 04:24 PM
  6. OFFSET problem: Changing dynamic chart
    By perra in forum Excel General
    Replies: 1
    Last Post: 02-06-2009, 05:57 AM
  7. Dynamic chart: Changing Ranges
    By Benihime in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-27-2006, 07:25 PM

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