+ Reply to Thread
Results 1 to 5 of 5

Create charts that update automatically from data in rows

  1. #1
    Brent
    Guest

    Create charts that update automatically from data in rows

    Hey Guys,

    I am trying to create charts that are updated automatically using the
    proceedure described in article 183446. I need to create charts from data in
    rows rather than columns. I changed the range to A1:AA1, but I don't get the
    expected result.. Could someone please describe the correct methode for me?
    Thanks
    --
    Brent

  2. #2
    Andy Pope
    Guest

    Re: Create charts that update automatically from data in rows

    Hi,

    Details of the OFFSET formula direct from the help file.

    Syntax:

    OFFSET(reference,rows,cols,height,width)

    Reference - is the reference from which you want to base the offset.
    Reference must refer to a cell or range of adjacent cells; otherwise,
    OFFSET returns the #VALUE! error value.

    Rows - is the number of rows, up or down, that you want the upper-left
    cell to refer to. Using 5 as the rows argument specifies that the
    upper-left cell in the reference is five rows below reference. Rows can
    be positive (which means below the starting reference) or negative
    (which means above the starting reference).

    Cols - is the number of columns, to the left or right, that you want
    the upper-left cell of the result to refer to. Using 5 as the cols
    argument specifies that the upper-left cell in the reference is five
    columns to the right of reference. Cols can be positive (which means to
    the right of the starting reference) or negative (which means to the
    left of the starting reference).

    Height - is the height, in number of rows, that you want the returned
    reference to be. Height must be a positive number.

    Width - is the width, in number of columns, that you want the returned
    reference to be. Width must be a positive number.


    So if the example for columns uses this
    =OFFSET($A$1,0,0,COUNTA($A$1:$A$100),1)

    you will need to change it to
    =OFFSET($A$1,0,0,0,COUNTA($A$1:$AA$1))

    swapping the row height argument to the column Width.

    Here are some other resources on dynamic named ranges, although I can
    not recall if they address the row lay out directly.

    http://peltiertech.com/Excel/Charts/Dynamics.html
    http://www.tushar-mehta.com/excel/ne...rts/index.html
    http://www.stfx.ca/people/bliengme/E...ps/Dynamic.htm

    Cheers
    Andy

    Brent wrote:
    > Hey Guys,
    >
    > I am trying to create charts that are updated automatically using the
    > proceedure described in article 183446. I need to create charts from data in
    > rows rather than columns. I changed the range to A1:AA1, but I don't get the
    > expected result.. Could someone please describe the correct methode for me?
    > Thanks


    --

    Andy Pope, Microsoft MVP - Excel
    http://www.andypope.info

  3. #3
    Brent
    Guest

    RE: Create charts that update automatically from data in rows

    Andy,

    Thanks for the information. However I think you made a mistake. How about
    =OFFSET($A$1,0,0,1,COUNTA($A$1:$AA$1))? This seems to work.
    Brent


    "Brent" wrote:

    > Hey Guys,
    >
    > I am trying to create charts that are updated automatically using the
    > proceedure described in article 183446. I need to create charts from data in
    > rows rather than columns. I changed the range to A1:AA1, but I don't get the
    > expected result.. Could someone please describe the correct methode for me?
    > Thanks
    > --
    > Brent


  4. #4
    Andy Pope
    Guest

    Re: Create charts that update automatically from data in rows

    Yes good catch. I should have set the height to 1 not zero.

    Brent wrote:
    > Andy,
    >
    > Thanks for the information. However I think you made a mistake. How about
    > =OFFSET($A$1,0,0,1,COUNTA($A$1:$AA$1))? This seems to work.
    > Brent
    >
    >
    > "Brent" wrote:
    >
    >
    >>Hey Guys,
    >>
    >>I am trying to create charts that are updated automatically using the
    >>proceedure described in article 183446. I need to create charts from data in
    >>rows rather than columns. I changed the range to A1:AA1, but I don't get the
    >>expected result.. Could someone please describe the correct methode for me?
    >>Thanks
    >>--
    >>Brent


    --

    Andy Pope, Microsoft MVP - Excel
    http://www.andypope.info

  5. #5
    Brent
    Guest

    Re: Create charts that update automatically from data in rows

    The important thing is that you saved me a lot of time researching the
    solution. Thanks very much.
    --
    Brent


    "Andy Pope" wrote:

    > Yes good catch. I should have set the height to 1 not zero.
    >
    > Brent wrote:
    > > Andy,
    > >
    > > Thanks for the information. However I think you made a mistake. How about
    > > =OFFSET($A$1,0,0,1,COUNTA($A$1:$AA$1))? This seems to work.
    > > Brent
    > >
    > >
    > > "Brent" wrote:
    > >
    > >
    > >>Hey Guys,
    > >>
    > >>I am trying to create charts that are updated automatically using the
    > >>proceedure described in article 183446. I need to create charts from data in
    > >>rows rather than columns. I changed the range to A1:AA1, but I don't get the
    > >>expected result.. Could someone please describe the correct methode for me?
    > >>Thanks
    > >>--
    > >>Brent

    >
    > --
    >
    > Andy Pope, Microsoft MVP - Excel
    > http://www.andypope.info
    >


+ 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