+ Reply to Thread
Results 1 to 2 of 2

Mass changing source data

  1. #1
    Registered User
    Join Date
    04-07-2010
    Location
    Cali
    MS-Off Ver
    Excel 2007
    Posts
    1

    Mass changing source data

    I am currently making scatter plots. I have 26 columns, which each has its own plot. So I have the following source data.

    =SERIES('[Modeling Project - all data.xls]Commercial Data'!$C$1,,'[Modeling Project - all data.xls]Commercial Data'!$C$1478:$C$1650,1)

    Now column C does not get changed, but the range 1478 and 1650 gets changed for each group. For now, I have been manually updating each chart for the next range, but there must be a quicker way to do this. The charts are objects. I cannot change the formatting of the charts, so I must copy the tab (contains 26 plots) and make a new tab. On the new tab, I'm altering the source data(26 times) to the new range (next range would be 1651 to 1822). The ranges are never the same and it could be more or less then the previous.

    Basically what I am looking for is a type of search and replace function to work directly with the chart objects. So I can perform a "find 1478" and "replace with 1651". The data and graphs are on seperate files.

    Thanks for your help.

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Mass changing source data

    attached a sample of a variable scenario.

    There are various ways to achieve this effect but this is quite simple for scenarios where the data is of fixed size. Which I infer is the case here.

    Basically:
    Setup a cell with a value that identify which data you want.
    set up a working area for the copy of the data that is going in the chart.
    set a formula to populate your working area with the correct data (here I have used indirect)
    set the chart to work off the working area.
    Attached Files Attached Files


    click on the * Add Reputation if this was useful or entertaining.

+ 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