+ Reply to Thread
Results 1 to 3 of 3

Dynamic Named Range in Chart

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2011
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    13

    Dynamic Named Range in Chart

    Hello-
    In the attached document, I have 4 charts on the first sheet that take their information from the last sheet.
    Ideally, I'd like for the horizontal axis on these 4 charts to always display from the beginning of the current range to the current date. Otherwise, it could display from from the beginning of the current range to whatever is the latest column to have an entry other than "0"
    Thanks in advance!
    Attached Files Attached Files
    Last edited by ckirkwalsh; 09-13-2011 at 03:08 PM.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Dynamic Named Range in Chart

    I don't think you need named ranges. Just use the NA() function. When Excel encounters NA's on the row or column of a table that is tied to a graph's axis it ignores them.

    Changing the dates in the spreadsheet to a formula should work. For example, in cell B2:
    =IF(DATEVALUE("8/12/11")+(COLUMN()-COLUMN($B:$B))*7<TODAY(),DATEVALUE("8/12/11")+(COLUMN()-COLUMN($B:$B))*7,NA())

    Then drag that across the other cells in row 2.

    Pauley

  3. #3
    Registered User
    Join Date
    01-28-2011
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Dynamic Named Range in Chart

    Thanks Pauley!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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