+ Reply to Thread
Results 1 to 4 of 4

Thread: Quick question

  1. #1
    Registered User
    Join Date
    02-16-2007
    Posts
    13

    Quick question

    I have a database with updating column's of dates (A) and corresponding numbers (B). I want to make a chart thats data range is B1:B6000, but have the chart only show rows which are greater or less than "0". (I.E. up to the current date). How can I do this?

  2. #2
    Forum Guru
    Join Date
    03-13-2005
    Posts
    6,199
    Quote Originally Posted by cwik
    I have a database with updating column's of dates (A) and corresponding numbers (B). I want to make a chart thats data range is B1:B6000, but have the chart only show rows which are greater or less than "0". (I.E. up to the current date). How can I do this?
    HI,

    one way is to hide the following rows and set the 'Visible Cells Only' option (Tools, Options, Charts)

    depending how your data is gathered for Column B then a Worksheet_Change or Worksheet_Calculate event could unhide the next (say) 5 rows etc.

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    02-16-2007
    Posts
    13
    Well, hiding cells won't really work, as I want the chart to be constantly updating as I add new data. The problem is when I put in all the cells from whole column, I get a line graph of all my entries in the first 1/10th of the chart, and then just a straight line for the rest of the graph (most of it).

    what I want it to show is a 'to date' section of the database. This range will be constantly changing.

  4. #4
    Forum Guru
    Join Date
    03-13-2005
    Posts
    6,199
    Quote Originally Posted by cwik
    Well, hiding cells won't really work, as I want the chart to be constantly updating as I add new data.
    so you didn't test to see that it does exactly that.
    The problem is when I put in all the cells from whole column, I get a line graph of all my entries in the first 1/10th of the chart, and then just a straight line for the rest of the graph (most of it).

    what I want it to show is a 'to date' section of the database. This range will be constantly changing.
    another way is to use some VB code to update the Source Data (and other) settings to match the number of entered items.

    ---
    Si fractum non sit, noli id reficere.

Thread Information

Users Browsing this Thread

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

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.2.0