K
Kris Coverdale
Hi,
Apologies if a similar question has been posted previously - I've
searched the archives with no luck...
The summary: is I'm trying to use a formula of the following form:
=[somefunction(filenames!A1)]Sheet1!$B$5 where the 'filenames'
worksheet contains a list of filenames to be opened, so that when I
cut and paste this into a column, cell B5 from sheet1 from a number of
different excel files is pasted into the column. Kind of like using a
pointer I guess - I want to know if this is possible and what function
I could use to do it.
The background is:
I've been given several 1000 excel files that my company sent out as a
questionnaire to people. What I have to do is collate this
information into a single worksheet / table. The data is always laid
out the same in each file, the only thing that changes is the
filename. However the data is set out 'prettily' rather than tabular,
so i can't simply pull out the data I want.
I was thinking of picking out the info I want using formualas of the
form: =[file1.xls]Sheet1!$B$5 =[file1.xls]Sheet1!$C$5 etc. and
then changing the filename in each row of data to access the next file
in turn. As I have 20 cells worth of data to pick out, that means
typing 20 * several thousand filenames in...
I was wondering if I can enter each filename only once in another
worksheet somewhere and using a reference to that sheet to fill in the
filenames. So I create a worksheet called filenames. cell A1
contains filename1, B1 contains filename2 etc.
Then in my original table I would use a formula of the following form
to construct the formula: =[somefunction(filenames!A1)]Sheet1!$B$5
Is this possible in Excel 2000 and what function could I use to do
this? It feels pretty similar to using pointers when programming, but
I'm not sure if the theory holds water in Excel...
Many thanks for anyone who managed to stick with me this long.
Kris
Apologies if a similar question has been posted previously - I've
searched the archives with no luck...
The summary: is I'm trying to use a formula of the following form:
=[somefunction(filenames!A1)]Sheet1!$B$5 where the 'filenames'
worksheet contains a list of filenames to be opened, so that when I
cut and paste this into a column, cell B5 from sheet1 from a number of
different excel files is pasted into the column. Kind of like using a
pointer I guess - I want to know if this is possible and what function
I could use to do it.
The background is:
I've been given several 1000 excel files that my company sent out as a
questionnaire to people. What I have to do is collate this
information into a single worksheet / table. The data is always laid
out the same in each file, the only thing that changes is the
filename. However the data is set out 'prettily' rather than tabular,
so i can't simply pull out the data I want.
I was thinking of picking out the info I want using formualas of the
form: =[file1.xls]Sheet1!$B$5 =[file1.xls]Sheet1!$C$5 etc. and
then changing the filename in each row of data to access the next file
in turn. As I have 20 cells worth of data to pick out, that means
typing 20 * several thousand filenames in...
I was wondering if I can enter each filename only once in another
worksheet somewhere and using a reference to that sheet to fill in the
filenames. So I create a worksheet called filenames. cell A1
contains filename1, B1 contains filename2 etc.
Then in my original table I would use a formula of the following form
to construct the formula: =[somefunction(filenames!A1)]Sheet1!$B$5
Is this possible in Excel 2000 and what function could I use to do
this? It feels pretty similar to using pointers when programming, but
I'm not sure if the theory holds water in Excel...
Many thanks for anyone who managed to stick with me this long.
Kris