Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Pull data from a file

I am almost positive this can be done.

I have a worksheet (Master worksheet) with all the data on the residents in
our facility. Every month I have to create a mail merge for some residents.
Thus, I get a list of residents for the particular month and I have to pull
out the relevant data manually from the Master file, which becomes tedious
and time consuming.

Is it possible to create a link between the list I get and the Master
worksheet such that the data will be generated automatically? Even though the
number of entries per list changes, if the column labels are identical, can
Excel find the names of the month in the Master file and copy the respective
data into the monthly list?

If anybody has the answer, I shall be grateful forever.
  #2   Report Post  
Posted to microsoft.public.excel.misc
OSK OSK is offline
external usenet poster
 
Posts: 9
Default Pull data from a file


Hi:

If I understood well to your concern, this can be done if you set a column
with some kind of a numerical ID for each person, and then, even if you don't
have the same amount of information on each worksheet, you can correlate it
with "Vlookup".

Hope it helps


OSK



"Marina" wrote:

I am almost positive this can be done.

I have a worksheet (Master worksheet) with all the data on the residents in
our facility. Every month I have to create a mail merge for some residents.
Thus, I get a list of residents for the particular month and I have to pull
out the relevant data manually from the Master file, which becomes tedious
and time consuming.

Is it possible to create a link between the list I get and the Master
worksheet such that the data will be generated automatically? Even though the
number of entries per list changes, if the column labels are identical, can
Excel find the names of the month in the Master file and copy the respective
data into the monthly list?

If anybody has the answer, I shall be grateful forever.

  #3   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Pull data from a file

You could use VLOOKUP, and for the table array refer to the range in th
emaster worksheet
like this, if a1 had the name, and you wanted the address in a2, enter this
in a2:
=vlookup(a1,[mastersheetfilename.xls]sheet1!a1.f100,2)

you need to maybe familiarize yourself with vlookup and external references

"Marina" wrote:

I am almost positive this can be done.

I have a worksheet (Master worksheet) with all the data on the residents in
our facility. Every month I have to create a mail merge for some residents.
Thus, I get a list of residents for the particular month and I have to pull
out the relevant data manually from the Master file, which becomes tedious
and time consuming.

Is it possible to create a link between the list I get and the Master
worksheet such that the data will be generated automatically? Even though the
number of entries per list changes, if the column labels are identical, can
Excel find the names of the month in the Master file and copy the respective
data into the monthly list?

If anybody has the answer, I shall be grateful forever.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Pull data from a file

DLW,

thank you so much. It works beautifully, but only if a resident has only one
row of information. For some, however, there is more than one
relative/address listed - each additional on a consequent row, but VLOOKUP
seems to get only the first record.

Any ideas on how to next VLOOKUP to find all the rows?

Marina

"dlw" wrote:

You could use VLOOKUP, and for the table array refer to the range in th
emaster worksheet
like this, if a1 had the name, and you wanted the address in a2, enter this
in a2:
=vlookup(a1,[mastersheetfilename.xls]sheet1!a1.f100,2)

you need to maybe familiarize yourself with vlookup and external references

"Marina" wrote:

I am almost positive this can be done.

I have a worksheet (Master worksheet) with all the data on the residents in
our facility. Every month I have to create a mail merge for some residents.
Thus, I get a list of residents for the particular month and I have to pull
out the relevant data manually from the Master file, which becomes tedious
and time consuming.

Is it possible to create a link between the list I get and the Master
worksheet such that the data will be generated automatically? Even though the
number of entries per list changes, if the column labels are identical, can
Excel find the names of the month in the Master file and copy the respective
data into the monthly list?

If anybody has the answer, I shall be grateful forever.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I pull data from worksheets with a batch file? ALEX Excel Discussion (Misc queries) 1 November 13th 06 04:00 PM
Pull values from each .xls file in dir Duke17 Excel Discussion (Misc queries) 4 May 28th 06 03:23 PM
How can I pull data from a different file from within a formula? [email protected] Excel Discussion (Misc queries) 1 March 29th 06 01:58 AM
How do I pull a particular set of records from a larger file? M Yin Excel Discussion (Misc queries) 3 December 13th 05 07:33 AM
How to pull data out of an excell file with multiple tabs mdeanda Excel Worksheet Functions 1 May 28th 05 02:21 AM


All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"