+ Reply to Thread
Results 1 to 6 of 6

Need shifting graph to only move is data is added

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Easthampton, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Question Need shifting graph to only move is data is added

    Hi Everyone,

    I really tried looking around for an answer before finally giving in and posting this. I found a lot of similar questions but none exactly like mine. It seems simple enough but I haven't found a solution.

    So I have a very simple worksheet that is used for entering attendance for a weekly event. The last column has a formula that will just sum the previous 3 columns. Very simple. However, I am also graphing the SUM column in a graph that only shows the last 3 months. So here's my problem.

    Let's say I have my attendance for Adults, Kids, Staff in columns A,B,C respectively. Column D will have the SUM.

    I have tried putting this formula in column D: IF(NOT(ISBLANK(A1)),SUM(A1:C1),"") and then copying it down. This works great for not allowing the SUM to be visible unless there is data in column A. However, the chart still sees that there is a formula in column D and shifts the Graph without actually plotting anything.

    So I get a chart that has the dates at the bottom with no lines on the graph. I need to be able to copy the formula down the column all the way to the end of the year but not have the graph shift unless the formula actually has a value. All of this is so the person who enters the attendance data will not have to manually drag the formula down each week.

    Any help on this is greatly appreciated.

    Thanks in advance,
    Adam

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need shifting graph to only move is data is added

    Hi,

    This can be done with dynamic ranges.
    If you post some dummy data in a workbook I will show you how.

    BSB.

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    Easthampton, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need shifting graph to only move is data is added

    Quote Originally Posted by BadlySpelledBuoy View Post
    Hi,

    This can be done with dynamic ranges.
    If you post some dummy data in a workbook I will show you how.

    BSB.
    What's the best way to "post some dummy data in a workbook" Is there a good way to do this in this forum?

    Thanks

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need shifting graph to only move is data is added

    Create the dummy file. Click on the "Go Advanced" button below your reply post and it should be self explanatory how to add a file there. Start with the "Manage Attachments" button below your post.

  5. #5
    Registered User
    Join Date
    02-05-2014
    Location
    Easthampton, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need shifting graph to only move is data is added

    Okay, wasn't sure if there was a way to put it directly in the reply text.

    Here you go.

    Sample.xlsx

  6. #6
    Registered User
    Join Date
    02-05-2014
    Location
    Easthampton, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need shifting graph to only move is data is added

    P.S. I'm already using dynamic ranges in the graph/chart to keep it from breaking when there isn't a full 3 months of data available (e.g. right now since we are only in February)

+ 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. Replies: 3
    Last Post: 05-25-2012, 10:46 PM
  2. Excel 2010 move scatter graph move axis
    By KiwiDexter in forum Excel General
    Replies: 0
    Last Post: 12-13-2011, 11:10 PM
  3. Automatically move a formula line down when new data is added
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-23-2011, 02:19 AM
  4. Replies: 3
    Last Post: 03-28-2011, 04:15 AM
  5. Move records from the added sheet
    By Heesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2005, 10:21 AM

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