+ Reply to Thread
Results 1 to 9 of 9

Create dynamic line on chart for current date

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    Brisbane Australia
    MS-Off Ver
    2010
    Posts
    7

    Lightbulb Create dynamic line on chart for current date

    Hi

    Many thanks for giving me the opportunity to this forum.graphDate.jpg

    I want to be able to have a dynamic line based on todays date as per the attached picture, basically if anyone opens the excel graph on any date, then this date should be highlighted by a dotted or straight line per attached picture, I am not sure how to get this.

    I followed your following thread but I could not work it out for what I wanted to achieve.
    http://www.excelforum.com/excel-char...ml#post3853114

    Can you please help.

    Thanks in advance
    thassim

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Create dynamic line on chart for current date

    ChartWithTodayAsVerticalLine.xlsx

    Hello,

    The easiest way to do this is to add a series that plots the line for you.

    Please see attachment.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    10-02-2014
    Location
    Brisbane Australia
    MS-Off Ver
    2010
    Posts
    7

    Re: Create dynamic line on chart for current date

    Hi
    Many thanks for your prompt response, I followed your instructions however my line is showing elsewhere instead of in the current date (green arrow), I formatted the date column as well but still the same, attached is a picture of the spreadsheet, can you please let me know what must I do further to fix this so that the line is always on the current date.
    I wanted to attach the workbook but unable to find the attach paperclip button, hence the reason I have attached the picture, sorry I am new to this forum.
    Thanks
    thassimgraphwithdate.jpg
    Last edited by thassim; 10-06-2014 at 09:20 PM.

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Create dynamic line on chart for current date

    I'm afraid that I can't see your attached picture. Please try again to upload a workbook, that way it will be much easier to get a you a solution.

  5. #5
    Registered User
    Join Date
    10-02-2014
    Location
    Brisbane Australia
    MS-Off Ver
    2010
    Posts
    7

    Re: Create dynamic line on chart for current date

    Hi Sweep
    Thank you for your response, I am new to this forum can you please let me know how to upload a workbook because I cannot see a picture with the paper clip to select a file for upload
    regards
    thassim

  6. #6
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Create dynamic line on chart for current date

    At the bottom of this page, underneath the reply window, there should be three buttons, "Post Quick Reply", "Go Advanced" and "Cancel". Click "Go Advanced" and above the next reply window there should be a paperclip icon to let you manage attachments.

  7. #7
    Registered User
    Join Date
    10-02-2014
    Location
    Brisbane Australia
    MS-Off Ver
    2010
    Posts
    7

    Re: Create dynamic line on chart for current date

    Hi Sweep
    Thank you very much for your help and patience in trying to help me with this, please find attached my workbook, you will notice that the green dotted line is not showing in the current date.
    Attached Files Attached Files

  8. #8
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Create dynamic line on chart for current date

    Hi,

    I've added a working chart to your sheet.

    A XY scatter chart rather than a line chart makes all the difference!

    graphwithdate.xlsx

  9. #9
    Registered User
    Join Date
    10-02-2014
    Location
    Brisbane Australia
    MS-Off Ver
    2010
    Posts
    7

    Re: Create dynamic line on chart for current date

    many thanks once again for your help, I will use your recommendation of the XY scatter chart
    Cheers
    Thassim

+ 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. Create line on chart showing current day
    By samalex in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-02-2014, 03:05 AM
  2. VBA - Updating Dynamic Line Chart & Inserting Dynamic Formula
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2014, 10:10 AM
  3. Dynamic Range Column Chart w/ Dynamic Avg Line (Excel 2007)
    By BrokenBiker in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-04-2012, 11:40 AM
  4. How to create Line chart by date. Newbie thank you
    By JerryLog in forum Excel General
    Replies: 1
    Last Post: 06-07-2012, 10:50 AM
  5. create today date line in excel gantt chart
    By omneo in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-13-2010, 10:25 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