+ Reply to Thread
Results 1 to 9 of 9

Thread: Add a Date line

  1. #1
    Registered User
    Join Date
    01-25-2010
    Location
    Roanoke, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    46

    Add a Date line

    So the question at hand, is how do I add a vertical line into these graphs that will show me today. The point for this is to be able to know where today is on these graphs, so that i can see what has already occurred and what is coming up.

    I have been trying to do the second x-axis strategy but it has not paned out for me. Any thoughts?

    I attached the file for viewing.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Add a Date line

    Add another series where only the current months data point is plotted.
    Add Minus 100% Error bars to the series and format as required.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-25-2010
    Location
    Roanoke, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add a Date line

    Thanks, I added that in.

    Now, simple question, is this automatically going to adjust as each day comes? Or is there some kind of adjustment I need to do?

    Thank you!

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Add a Date line

    If you used the formula then it will update each month.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    01-25-2010
    Location
    Roanoke, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add a Date line

    Yes i used the same formula you provided, but does that mean it does not distinguish between March 10th and March 18th?

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Add a Date line

    No it does not. But then neither does your chart.

    You have categories not a date axis.
    Cheers
    Andy
    www.andypope.info

  7. #7
    Registered User
    Join Date
    01-25-2010
    Location
    Roanoke, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add a Date line

    Do you have a suggestion that will lead to me being able see it on a daily level?

    Should I instead just be dumping the entire group of dates in as data instead of trying to pull them into groups?

  8. #8
    Registered User
    Join Date
    01-25-2010
    Location
    Roanoke, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Add a Date line

    This is the chart again with the back data that I'm pulling everything from. Please let me know if you think there is a smarter way i should be generating everything, but I need the final product to look the same as in Y-axis is # of sites and X-axis is Months
    Attached Files Attached Files

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Add a Date line

    You can add a 2 point series to the secondary axis and change the chart type to xy-scatter.
    You will need to fix the min/max scale of the secondary axis.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0