Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Referencing External files with slightly different names
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PeteJ  
View profile  
 More options Nov 12 2009, 8:16 pm
Newsgroups: microsoft.public.excel.worksheet.functions
From: PeteJ <Pe...@discussions.microsoft.com>
Date: Thu, 12 Nov 2009 17:16:02 -0800
Local: Thurs, Nov 12 2009 8:16 pm
Subject: Referencing External files with slightly different names
I have a spreadsheet that colates data from other spreadsheets. Each quarter,
a new spreadsheet is created, and I want to reference that new datasheet from
within the top level. The file names change slightly, such as "BookingsQ109"
vs. "BookingsQ209". I've tried using the INDIRECT function to create a text
string for the name, putting the current quarter in a cell that the INDIRECT
calls. Such as:

A1 contains:  Q109

=INDIRECT("'[Bookings" & A1 &".xls]Sheet1!A2")

The problem with this is that the cell reference is inside the text string,
and thus I can't copy this formula and have it automatically adjust the cell
reference for me.

Is there a way I can accomplish this such that I can get the cell reference
changed as I copy the formula?

Thanks,

Pete


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Skaria  
View profile  
 More options Nov 12 2009, 8:34 pm
Newsgroups: microsoft.public.excel.worksheet.functions
From: Jacob Skaria <JacobSka...@discussions.microsoft.com>
Date: Thu, 12 Nov 2009 17:34:01 -0800
Local: Thurs, Nov 12 2009 8:34 pm
Subject: RE: Referencing External files with slightly different names
Try the below

=INDIRECT("'[Bookings" & $A$1 &"]Sheet1'!" & CELL("address",A2))

If this post helps click Yes
---------------
Jacob Skaria


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Skaria  
View profile  
 More options Nov 12 2009, 8:36 pm
Newsgroups: microsoft.public.excel.worksheet.functions
From: Jacob Skaria <JacobSka...@discussions.microsoft.com>
Date: Thu, 12 Nov 2009 17:36:05 -0800
Local: Thurs, Nov 12 2009 8:36 pm
Subject: RE: Referencing External files with slightly different names
Missed the extension...

=INDIRECT("'[Bookings" & $A$1 &".xls]Sheet1'!" & CELL("address",A2))

If this post helps click Yes
---------------
Jacob Skaria


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PeteJ  
View profile  
 More options Nov 12 2009, 8:54 pm
Newsgroups: microsoft.public.excel.worksheet.functions
From: PeteJ <Pe...@discussions.microsoft.com>
Date: Thu, 12 Nov 2009 17:54:01 -0800
Local: Thurs, Nov 12 2009 8:54 pm
Subject: RE: Referencing External files with slightly different names
Thank you Jacob. I haven't tried this yet, but I'm unsure how it works. When
this formula is copied, does the A2 get incremented on each subsequent row or
column?

Thus if I copy it to the next row, will A2 become A3?

Thanks

Pete


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Skaria  
View profile  
 More options Nov 12 2009, 9:04 pm
Newsgroups: microsoft.public.excel.worksheet.functions
From: Jacob Skaria <JacobSka...@discussions.microsoft.com>
Date: Thu, 12 Nov 2009 18:04:02 -0800
Local: Thurs, Nov 12 2009 9:04 pm
Subject: RE: Referencing External files with slightly different names
A2 will change to A3 if copied down..and If copied across will change to B2.

You can use absolute referencing such as $A2 is you dont want the formula to
change while copied across..OR as A$2 if you dont want the row to change

If this post helps click Yes
---------------
Jacob Skaria


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google