+ Reply to Thread
Results 1 to 3 of 3

Chart updates using cell reference

  1. #1
    jwhprinter
    Guest

    Chart updates using cell reference

    I have a multiple charts that plot data in A1:Z20. Column A is always the
    x-axis. Columns B-Z represent different charts. Sometimes I want to see all
    20 rows of data, but sometimes I want to choose only a few rows (to zoom in)
    and plot only a few rows...say 8-14. I'd like to be able to put 8 in cell
    A22 and 14 in cell A23 and have all charts reference those entries and update
    to show only data in cells 8-14. Is it possible? thx - jwhprinter

  2. #2
    Jon Peltier
    Guest

    Re: Chart updates using cell reference

    Dynamic charts:

    http://peltiertech.com/Excel/Charts/DynamicCharts.html

    Your offset formula for X ("myXValues") would be

    =INDIRECT("Sheet1!A"&Sheet1!$A$23&":A"&Sheet1!$A$24)

    and for the various Ys would be

    =OFFSET(myXValues,0,1)

    where you use 1 for column B, 2 for column C, etc.

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Peltier Technical Services
    Tutorials and Custom Solutions
    http://PeltierTech.com/
    _______


    "jwhprinter" <[email protected]> wrote in message
    news:[email protected]...
    >I have a multiple charts that plot data in A1:Z20. Column A is always the
    > x-axis. Columns B-Z represent different charts. Sometimes I want to see
    > all
    > 20 rows of data, but sometimes I want to choose only a few rows (to zoom
    > in)
    > and plot only a few rows...say 8-14. I'd like to be able to put 8 in cell
    > A22 and 14 in cell A23 and have all charts reference those entries and
    > update
    > to show only data in cells 8-14. Is it possible? thx - jwhprinter




  3. #3
    jwhprinter
    Guest

    Re: Chart updates using cell reference

    I took a while for me to wrestle with it but I finally got it to work as
    desired. Jon...you are the guru! Thanks!

    "Jon Peltier" wrote:

    > Dynamic charts:
    >
    > http://peltiertech.com/Excel/Charts/DynamicCharts.html
    >
    > Your offset formula for X ("myXValues") would be
    >
    > =INDIRECT("Sheet1!A"&Sheet1!$A$23&":A"&Sheet1!$A$24)
    >
    > and for the various Ys would be
    >
    > =OFFSET(myXValues,0,1)
    >
    > where you use 1 for column B, 2 for column C, etc.
    >
    > - Jon
    > -------
    > Jon Peltier, Microsoft Excel MVP
    > Peltier Technical Services
    > Tutorials and Custom Solutions
    > http://PeltierTech.com/
    > _______
    >
    >
    > "jwhprinter" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have a multiple charts that plot data in A1:Z20. Column A is always the
    > > x-axis. Columns B-Z represent different charts. Sometimes I want to see
    > > all
    > > 20 rows of data, but sometimes I want to choose only a few rows (to zoom
    > > in)
    > > and plot only a few rows...say 8-14. I'd like to be able to put 8 in cell
    > > A22 and 14 in cell A23 and have all charts reference those entries and
    > > update
    > > to show only data in cells 8-14. Is it possible? thx - jwhprinter

    >
    >
    >


+ Reply to Thread

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.6.0 RC 1