+ Reply to Thread
Results 1 to 4 of 4

Line chart with changing start and end dates

  1. #1
    Registered User
    Join Date
    12-23-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    85

    Line chart with changing start and end dates

    Hello,

    I am looking to make a line chart where the start date and end date are selected by two drop down cells. In the attached document C9 and C10 are drop downs dependent on the dates in the top of the table. Is it possible to have the chart below change to reflect the range of whatever dates are selected in the cells?

    If possible, I would like the chart as it is now (it updates the range based on the date) to be the default when no dates are selected.

    Thanks,
    B
    Attached Files Attached Files
    Last edited by BWellman; 11-13-2017 at 12:55 PM. Reason: Wrong attachment

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Line chart with changing start and end dates

    Probably wrong attachment. Cells C9 and C10 are empty. Chart is empty too.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    12-23-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Line chart with changing start and end dates

    Sorry - have attached the updated file.

    B
    Attached Files Attached Files

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Line chart with changing start and end dates

    You had already dynamic chart so I not changed the chart at all. I only changed your name ChtLabels to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and introduced two new names (used in above name) startdate and enddate defined as:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So if C9 and C10 are empty chart remains as it is now. If both are filled, it's between these dates, and if only one is filled, it's between that date and final date based on current date (C2)
    Attached Files Attached Files

+ 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. [SOLVED] Worksheet Automation -- Changing start dates and end dates of growth curves & acct numbers
    By adam_d_john in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2017, 06:20 PM
  2. Bar Chart of Start and End point on a horizontal line
    By neim0003 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 09-22-2016, 03:44 PM
  3. [SOLVED] Multiple start-dates for Line Graph data
    By MikeOShay in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-10-2013, 04:01 PM
  4. Changing line-width in a line chart with a lot of series
    By LJ25 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-13-2011, 11:23 PM
  5. changing real dates to start date e.g. day 1, 2 ecc
    By medicine stud in forum Excel General
    Replies: 2
    Last Post: 07-16-2007, 04:40 PM
  6. [SOLVED] make line in chart start at y axis
    By Tone in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-05-2005, 05:06 AM
  7. [SOLVED] I really need help! Changing work period start dates
    By JLyons in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-16-2005, 09:40 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