+ Reply to Thread
Results 1 to 13 of 13

relative names as source data

Hybrid View

  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    In your Chart.xls example change the named range B to

    =OFFSET(Sheet1!$B$2,0,0,8,1)
    Cheers
    Andy
    www.andypope.info

  2. #2
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by Andy Pope
    In your Chart.xls example change the named range B to

    =OFFSET(Sheet1!$B$2,0,0,8,1)

    It will still work but we need to be creative with the formulas. Here is an example below.
    Attached Files Attached Files

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    Yes looks like you can use INDIRECT and OFFSET that way

  4. #4
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by Andy Pope
    Yes looks like you can use INDIRECT and OFFSET that way
    Hi Andy Pope,


    Just curious did look at the second file I posted? If so I would like to get your opion on that.
    Last edited by vane0326; 05-13-2008 at 09:41 AM.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    It's fine only the named ranges B and D have static range references.
    It's when you change those two to be OFFSET formula that the problems arise.

  6. #6
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by Andy Pope
    It's fine only the named ranges B and D have static range references.
    It's when you change those two to be OFFSET formula that the problems arise.

    I mean then second file I attach to this thread. It shows you could only have one Define name range for multiple charts. What do you take on that?

    The reason I'm asking you because you have alot experience on charts and I seen your name on various forums.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    That approachs would work well if all the chartable data was in the same location on multiple sheets.

    One thing to be aware of. The CELL function is not stable when a reference is not used as the second argument.

    =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

    This means all the charts on each sheet will be based on the same data set.

    Try this, create a New Window and arrange Horizontally.
    Show both Sheet1 and Sheet2 and then press F9. Then switch to the other view and press F9 again. You should see that both charts are running of the same data.

+ 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