+ Reply to Thread
Results 1 to 3 of 3

Need help: Find and replace source workbook within forumla in multiple cells

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    Mount Vernon, WA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Need help: Find and replace source workbook within forumla in multiple cells

    Hello!

    I am working on a project and wrangling with Excel's Find and Replace feature. First, here's a rundown of what I am doing:

    Multiple separate workbooks are filled out by employees. Specific cells from these workbooks (about 45 from each) are feeding back in to a "master" workbook so management can review the information from all the separate workbooks on one tab. Each workbook has its own row on the master. Here's a sample of one of my forumlas from the master document, which is pulling in data from a separate source (in this case Sample Company.xlsx):

    =+'T:\Team\Membership\Renewal\[Sample Company.xlsx]Implementation Plan'!$B$18

    There are about 45 cells on each row, which will pull data using this formula. To save time when adding a new row to the master document, I copy and paste an entire existing row. This duplicates the data from the other workbook on two lines. I then select the row that I just created (the duplicate row) and do a find and replace. I am looking for the company name from the previous row, and replacing it with the new company. So in this example I would be looking for Sample Company.xlsx and replacing it with something like Actual Company.xlsx. The formulas remain the same; only trying to change the source document.

    The problem I am having is...

    Even doing a "replace all" Excel pops open a file browser window and makes me select the Actual Company.xlsx workbook. For each dang cell. I do it once, and it immediately pops up the same window again. It does this over and over until all 45 or so cells on the new row have been changed to the correct source document. This is a problem for two reasons: 45 cells on each row, and I have about 40-50 workbooks I need to track on the master. This is a TON of extra clicks and keystrokes.

    The question I have is...

    Is there any way to replace that section of the forumla in ALL the cells at once? A true "replace all"??

    That was a long winded question but I hope it helps in clarifying my problem. Any suggestions would be greatly appreciated.
    Last edited by UnexplainedBacon; 09-17-2013 at 02:38 PM.

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Need help: Find and replace source workbook within forumla in multiple cells

    I tried to reproduce the problem you're describing, but didn't succeed.
    Can you post your master workbook or a representative part of it and one or two of the separate workbooks? If necessary replacing proprietary data with dummy data.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    08-05-2013
    Location
    USA
    MS-Off Ver
    2010
    Posts
    76

    Re: Need help: Find and replace source workbook within forumla in multiple cells

    Does the source document (with the correct file path and file name) already exist as a data link in the master workbook?

+ 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. to find and replace the special character in multiple worksheet in a workbook
    By Vinutha in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-11-2012, 11:16 AM
  2. Find/Replace en masse using multiple cells
    By kenyacoastie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2012, 02:58 PM
  3. Replies: 2
    Last Post: 10-28-2011, 09:15 AM
  4. Replies: 6
    Last Post: 12-13-2010, 06:26 AM
  5. How to find multiple cells/replace whole cells w/data
    By dcurylo in forum Excel General
    Replies: 2
    Last Post: 11-30-2005, 04:10 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