#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default collating data

Hi, I have 26 work books named week 1-week 26 each one has 7 sheets named
Sun- Sat and week, each sheet has a list of names in the first column and
data for each name in the next columns and it is all collated in the sheet
called week.
All 26 work books are paste linked into a worksheet called (six months)each
week having its own sheet.
My problem is that every now and then the list of names change and therefore
change the order they are in, what I need to do is type in a name in A1 or A2
ect and the data associated along side that name in each week is collated
into b1,c1,d1,e1 ect, on one sheet.
a tall order I know but could any onegive me some ideas?.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default collating data

Hi,

If the links to the sheets are in workbooks that are open you can use the
INDIRECT function. For example if a sheet is named Week1 and you have a
formula like =Week1!A1 you can replace it with =INDIRECT(D1&"!A1") where you
type the sheet name into cell D1. If the reference is to another open file
it might look like this: [Book2]Sheet1!$A$2 so the replacement formula
would be
=INDIRECT("[Book2]"&D1&"1!$A$2")

The INDIRECT function does not work when the target file is closed, to
handle that you would need to write a VBA function.

--
Cheers,
Shane Devenshire


"wildauk" wrote:

Hi, I have 26 work books named week 1-week 26 each one has 7 sheets named
Sun- Sat and week, each sheet has a list of names in the first column and
data for each name in the next columns and it is all collated in the sheet
called week.
All 26 work books are paste linked into a worksheet called (six months)each
week having its own sheet.
My problem is that every now and then the list of names change and therefore
change the order they are in, what I need to do is type in a name in A1 or A2
ect and the data associated along side that name in each week is collated
into b1,c1,d1,e1 ect, on one sheet.
a tall order I know but could any onegive me some ideas?.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default collating data

Cheers Shane, I'll give it a go.

"ShaneDevenshire" wrote:

Hi,

If the links to the sheets are in workbooks that are open you can use the
INDIRECT function. For example if a sheet is named Week1 and you have a
formula like =Week1!A1 you can replace it with =INDIRECT(D1&"!A1") where you
type the sheet name into cell D1. If the reference is to another open file
it might look like this: [Book2]Sheet1!$A$2 so the replacement formula
would be
=INDIRECT("[Book2]"&D1&"1!$A$2")

The INDIRECT function does not work when the target file is closed, to
handle that you would need to write a VBA function.

--
Cheers,
Shane Devenshire


"wildauk" wrote:

Hi, I have 26 work books named week 1-week 26 each one has 7 sheets named
Sun- Sat and week, each sheet has a list of names in the first column and
data for each name in the next columns and it is all collated in the sheet
called week.
All 26 work books are paste linked into a worksheet called (six months)each
week having its own sheet.
My problem is that every now and then the list of names change and therefore
change the order they are in, what I need to do is type in a name in A1 or A2
ect and the data associated along side that name in each week is collated
into b1,c1,d1,e1 ect, on one sheet.
a tall order I know but could any onegive me some ideas?.

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
Collating/ Summarising worksheets James Excel Discussion (Misc queries) 1 August 10th 07 02:54 AM
Help collating data from multiple worksheets Mediaid Excel Discussion (Misc queries) 0 August 21st 06 02:40 PM
collating Data Paul Cooke Excel Discussion (Misc queries) 0 December 5th 05 04:29 PM
collating info from index column icestationzbra Excel Discussion (Misc queries) 4 November 18th 05 06:13 PM
Collating information in a different location tom300181 Excel Discussion (Misc queries) 3 August 4th 05 09:03 AM


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

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

About Us

"It's about Microsoft Excel"