+ Reply to Thread
Results 1 to 4 of 4

Producing 7 days worth of data

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    Hampshire
    MS-Off Ver
    Office 2013
    Posts
    49

    Producing 7 days worth of data

    Hello Guys

    I have a table which consists of column A (Date) and column C (Quantity).

    This table has values automatically added to it every day upon a macro with the opening of the file. For example 20/05/14 in column A and 6457 in column C.

    The data on this table will keep growing, will not get deleted. What I would like to do is create a chart/graph which shows only the data for the last 7 days. So 14/05/2014 - 20/05/2014.

    Cant work out how to achieve this.

    Any help is greatly appriciated!

    Kind Regards

    Ash

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Producing 7 days worth of data

    Create a small table that will contain your data, have a start (or end) date at the top of the table, then (obviously depending on how your data looks) use a vlookup() for the start date, then start date +1, start date +2 etc (or reversed - end date, ED -1, -2 etc)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-24-2013
    Location
    Hampshire
    MS-Off Ver
    Office 2013
    Posts
    49

    Re: Producing 7 days worth of data

    Good shout!

    Thanks very much, something so simple eh :P

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Producing 7 days worth of data

    Happy to help and thanks for the feedback

+ 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. Producing a flag or highlight when an item is 14 days overdue
    By danny06m in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 04:30 AM
  2. Replies: 6
    Last Post: 09-28-2012, 06:22 AM
  3. Comparing dates, and selecting a days worth of data
    By RockyStrong in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-12-2008, 11:00 AM
  4. Adding up 45 days worth of money
    By Beesht in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-04-2007, 06:43 PM
  5. Replies: 9
    Last Post: 03-19-2006, 05:41 PM

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