A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Change formula to reference different external worksheets



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2008, 04:36 PM posted to microsoft.public.excel.links
Duncuk
external usenet poster
 
Posts: 1
Default Change formula to reference different external worksheets

Hi,

I have a master spreadsheet that has several sheets. Each sheet is reading
data from a separate external spreadsheet C:\Data using the below formula.
IF($AH5="","",IF('C:\Data\[Generic.xls]sheetTFF'!$A5="",A4,'C:\Data\[Generic.
xls]sheetTFF'!A5))

On each new sheet I want to recreate the above formula but to reference a
different sheet on the same C:\Data external spreadsheet. I am looking for a
quick way to change the formula to read 'C:\Data\[Generic.xls]sheetTFF'!$A5
to 'C:\Data\[Generic.xls]sheetTFG'!$A5 and to 'C:\Data\[Generic.xls]sheetTFH'!
$A5 and so on, quickly as I don't want to spend hours doing this manually.

Hope someone can help.

Thanks for reading.

Regards

Duncuk

  #2  
Old April 20th, 2008, 05:34 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Change formula to reference different external worksheets

Duncuk wrote:
I am looking for a
quick way to change the formula to read 'C:\Data\[Generic.xls]sheetTFF'!$A5
to 'C:\Data\[Generic.xls]sheetTFG'!$A5 and to 'C:\Data\[Generic.xls]sheetTFH'!
$A5 and so on, quickly as I don't want to spend hours doing this manually.


Simplest way is to create the new sheet by copying the one that references
sheetTFF (Edit Move or Copy Sheet Create a copy)

Then in the new sheet Edit Replace sheetTFF [with] sheetTFG Replace All

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.