+ Reply to Thread
Results 1 to 2 of 2

How to graph between two dates

  1. #1
    Registered User
    Join Date
    12-29-2014
    Location
    My cube
    MS-Off Ver
    2016
    Posts
    16

    How to graph between two dates

    I have a database with three columns: Date, Sales and Quantity.

    The user will enter the start and end date into two separate cells, and then I would like the graph to automatically show data only between those two dates.

    I came across the answer below but am having trouble understanding how this works; when I enter this formula I get '#VALUE!'

    -----------------------------------------------------------------------------------------------------------------------------------------

    Use a defined name such as this (dateseries) to match the dates in column A
    ONE line in the refers to box

    =OFFSET(Sheet24!$A$5,MATCH(Sheet24!$B$4,Sheet24!$A:$A)-5,0,MATCH(Sheet24!$B$5,Sheet24!$A:$A)-MATCH(Sheet24!$B$4,Sheet24!$A:$A)+1,1)

    then use that defined name in your series. =workbookname!dateseries
    Now when you change b4 as your start date and b5 as your end date your chart
    will auto create

  2. #2
    Registered User
    Join Date
    03-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    48

    Re: How to graph between two dates

    Can you post a sample file with what you're after?

+ 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. Stacked Graph of Dates
    By Jago147 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-10-2014, 04:07 PM
  2. Graph with dates
    By Davycc in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-28-2013, 12:45 AM
  3. [SOLVED] Formula to analyze dates and graph dates
    By gunner05 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-10-2013, 02:08 AM
  4. Dates on a graph
    By pimpger in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-13-2009, 05:34 AM
  5. [SOLVED] Graph between two dates
    By Mnilo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2006, 03:15 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