Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have linked two excel worksheets together so whatever data I input into worksheet 1, will appear in the proper cells of worksheet 2. Next month, I will receive a new worksheet which will have a new source name.

How do I edit the new source name into worksheet 2 so that I don't have to copy+paste repeatedly for the entire sheet?

For example, currently the source name is:

"='C:\Users\Sue''s\Desktop\[DEXCOM_GSPM 0113.xls]GSPM'!$S$6:$S$8" 

The new worksheet will be named DEXCOM_GSPM 0213.

How I update this?

share|improve this question
2  
Find/Replace (by Formula) will take care of this for you –  mcalex Feb 16 '13 at 10:28
    
@mcalex worth an answer! –  Peter L. Feb 16 '13 at 10:58
    
Find/Replace is good. I would also take a look at array formulas. –  Pincopallino Feb 16 '13 at 11:04
add comment

1 Answer 1

To achieve what you want, do the following:

  1. Open your file in Excel - that one which has now ='C:\Users\Sue''s\Desktop[DEXCOM_GSPM 0113.xls]GSPM'!$S$6:$S$8 formula.
  2. Open Replace dialog via CTRL+H.
  3. Press >>Options and set up the options as on the screen (in case you want to correct formulas for the entire workbook - select Workbook for Within:):

Replace options

Now press Replace All and you're done.

share|improve this answer
1  
If you're happy with the solution proposed - please accept the answer by ticking it, this will mark the question solved. For the details see: Accepting Answers: How does it work? –  Peter L. Feb 16 '13 at 16:05
    
+1 - good explanation! –  Peter Albert Feb 16 '13 at 21:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.