+ Reply to Thread
Results 1 to 2 of 2

Is it possible to alter chart formula to include indirect?

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    1

    Is it possible to alter chart formula to include indirect?

    Hi my formula for the chart looks like this

    =SERIES('trackLog-2013-Jun-16_09-TEST'!$M$1,,'trackLog-2013-Jun-16_09-TEST'!$M$2:$M$21425,1)

    Is it possible to use indirect to reference the sheet with the charts cell a1 contains trackLog-2013-Jun-16_09-TEST

    Ive tried

    =SERIES(INDIRECT("'"&$A$1&"'!$M$1,INDIRECT("'"&$A$1&"'!$M$1:INDIRECT("'"&$A$1&"'!$M$21425,1)

    Any help please to solve this, thanks

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Is it possible to alter chart formula to include indirect?

    Try constructing named ranges that use the indirect. The use the named ranges in the SERIES formula

    MyName: =INDIRECT("'"&$A$1&"'!" & $M$1)
    MyData: =INDIRECT("'"&$A$1&"'!"&$M$1&":"&$M$21425)

    SERIES=(Book1!MyName,,Book1!MyData,1)

    Where Book1 is the name of the workbook containing the named ranges.
    Also not INDIRECT will only work when references other workbooks that are open.
    Cheers
    Andy
    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