+ Reply to Thread
Results 1 to 8 of 8

How to select data for a chart, from another workbook?

  1. #1
    Registered User
    Join Date
    09-29-2008
    Location
    **** OFF
    Posts
    4

    How to select data for a chart, from another workbook?

    I've created a chart that uses dates and figures from another worksheet in the same excel file.
    The problem is that while this works fine, I run into problems in that I have dates for one year in each worksheet and then their will be twelve charts, each in their own worksheet. This makes the workbook too cluttered and difficult to navigate. So I wanted to have the worksheets with the dates in them in a separate workbook, and the charts in another workbook.
    How do I reference the values in another workbook when selecting the data for the charts?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,466
    You just need to include the workbook name in the series formula, so something like,

    =SERIES(,,[otherworkbook.xls]Sheet1!$A$1:$A$10,1)

    Or you can use the Source Data dialog, where you can use the range pickers to select the other workbook, worksheet and range.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-29-2008
    Location
    **** OFF
    Posts
    4
    Okay I had to open them both and was able to use the Range selector. But now it always tells me there's an error whenever I change something on the chart.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,466
    what detail does the error message contain.

    There is a limit to the length of a series formula, ~1024 characters.

  5. #5
    Registered User
    Join Date
    09-29-2008
    Location
    **** OFF
    Posts
    4
    Never mind that, it seems to have stopped complaining, thanks for all the help

    EDIT: Okay I added some weight values to the second workbook with just the data, and I saved and closed it.
    I then open the chart workbook and the values were not updated. How do I get it to check for new values whenever I open the chart?
    Last edited by AluminumHaste; 09-29-2008 at 03:22 PM.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,466
    Check your Trust Centre settings for external content.

    Office Button > Excel Options > Trust Center > Trust Center Settings > External Content.

  7. #7
    Registered User
    Join Date
    09-29-2008
    Location
    **** OFF
    Posts
    4
    Awesome working now thanks, even though it was set to prompt user, there was no prompt, so I put it on always do the links and it worked. Thanks again

  8. #8
    Registered User
    Join Date
    11-24-2008
    Location
    US - Kentucky
    Posts
    13
    Andy..

    Thanks for tip. Really helped in explaining ti my friends!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import data from another workbook
    By Busca in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-28-2011, 07:24 PM
  2. group data from multiple worksheets into a seperate workbook
    By ashlegg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2008, 06:30 AM
  3. Going insane!
    By kik in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 01-31-2007, 08:21 AM
  4. Chart trouble - data w/duplicates
    By devo in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-27-2007, 10:16 PM
  5. Copying data from one workbook to another
    By Stealth in forum Excel General
    Replies: 4
    Last Post: 12-04-2006, 04:29 PM

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