+ Reply to Thread
Results 1 to 4 of 4

Auto Update Chart Range Every Monday

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Auto Update Chart Range Every Monday

    Hello Everyone,

    I wasn't sure which topic to post this on. I don't know the optimal solution to accomplish this. I have a chart that I want the data to auto update every Monday. For example I have data that I want to display for this week only (8/25/2014 - 8/31/2014) Monday through Sunday. Next Monday I want the chart to only show data only for 9/1/2014 - 9/7/2014, and so on.

    I have know idea how to automate this. If you look at my sample you will see what I'm talking about. I don't know if this can be done with a formula or if a macro is needed.

    Here is my sample.

    Thank you in advance to anyone willing to help me out with this.

    - Justin
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Auto Update Chart Range Every Monday

    Sample1.xlsxHere's what I came up with:
    On the SQDCI DR 24 tab, insert a helper column in col A. Beginning on that tab, in A5, enter this: =WEEKNUM(B5,2)
    and copy down. This identifies the week number of your workweek which begins on a Monday and lasts 7 days.
    In the Sheet1 tab, in C1, enter the number of the week you want reported. Enter 35.
    In C3, enter =SUMIF('SQDCI DR 24'!$A:$A,$C$1,'SQDCI DR 24'!$C:$C)
    This updates your data series summary range to the week number identified in C1. . .in this case week 35.

    Follow this logic, and copy the formula entered into C3 into the other shift and department summary cells, adjusting the range summed from the source data tab.

    This will update your chart to the desred week by changing the week number entered in C1.

    Hope that helps.
    Pete
    Last edited by PeteABC123; 08-25-2014 at 05:26 PM.

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Auto Update Chart Range Every Monday

    Thank you Pete. Perfect solution!

  4. #4
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Auto Update Chart Range Every Monday

    You can mark the thread as SOLVED if this works. . .add to reputation if you like.
    Pete

+ 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. chart auto update
    By willexcel in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-27-2014, 01:51 PM
  2. [SOLVED] Auto update chart range
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2012, 04:15 AM
  3. Excel Chart Axis Auto-Update based on cells with calculated range
    By jgray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2010, 03:50 PM
  4. Chart Auto Update
    By Reyan123 in forum Excel General
    Replies: 1
    Last Post: 07-19-2007, 08:48 AM
  5. [SOLVED] auto update of a chart
    By TUNGANA KURMA RAJU in forum Excel General
    Replies: 1
    Last Post: 06-24-2006, 05:00 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