+ Reply to Thread
Results 1 to 5 of 5

Thread: Dynamic charts

  1. #1
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Post Dynamic charts

    Hi,

    To make the charts more dynamic I was using the following.

    =OFFSET(Charts!$A$7,0,1,1,COUNT(Charts!$7:$7))

    I was having some recalculating problems with the workbook and thought it was due to the Offset, but I have come to find out it was something else. Well in the meantime I have changed the Offset reference to the below and it seems to work fine.

    =Sheet1!$A$7:INDEX(Sheet1!$7:$7,MATCH(BigNum,Sheet1!$7:$7))

    Just looking for some advice from those who have the knowledge/experience! Should I stick with the Index or go back to the Offset?
    Last edited by jeffreybrown; 11-27-2009 at 02:18 PM.

  2. #2
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    3.0
    Posts
    2,472

    Re: Dynamic charts

    Hi,

    Index is non-volatile whereas Offset is volatile. Therefore the formula you now have is more efficient.
    Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.

  3. #3
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Post Re: Dynamic charts

    Yes Dave that helps...just getting so confirmation. Have a good day.

  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Dynamic charts

    I think that given the way names are evaluated the OFFSET is ok - ie the Name is only evaluated when the cells utilising the name are themselves evaluated so it is their volatility that is key (at least that's my understanding).

    INDEX is preferable if you have blanks interspersed in your data - eg if row 7 contains

    #, blank, #, #N/A, #

    the INDEX will cover the appropriate range whereas COUNT based approach will not

  5. #5
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Post Re: Dynamic charts

    Thank you that also helps.

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