Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Amanda097
 
Posts: n/a
Default How can I create a fill that increments based on worksheet numbers

I have a totals worksheet (named "Totals," that tabulates all the information
found on the other 100 worksheets in the database. The other worksheets are
named "0001", "0002", "0003," and so on.

I need to reference data from all 100 worksheets to the Totals sheet. An
example of what I need is:

A2 on the Totals sheet needs to reference Sheet 0001 cell A2
A3 on the Totals sheet needs to reference Sheet 0002 cell A2
A4 on the Totals sheet needs to reference Sheet 0003 cell A2, etc...

I've hunted around with different fill techniques, and different reference
techniques but haven't been able to find anything. Hopefully someone out
there has a better idea than I do. I am open to ALL ideas.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default How can I create a fill that increments based on worksheet numbers

Hi

Into A2 enter the formula
=INDIRECT("'" & TEXT(ROW()-1,"0000") & "'!A2")
, and copy down for 100 rows

Arvi Laanemets


"Amanda097" wrote in message
...
I have a totals worksheet (named "Totals," that tabulates all the

information
found on the other 100 worksheets in the database. The other worksheets

are
named "0001", "0002", "0003," and so on.

I need to reference data from all 100 worksheets to the Totals sheet. An
example of what I need is:

A2 on the Totals sheet needs to reference Sheet 0001 cell A2
A3 on the Totals sheet needs to reference Sheet 0002 cell A2
A4 on the Totals sheet needs to reference Sheet 0003 cell A2, etc...

I've hunted around with different fill techniques, and different reference
techniques but haven't been able to find anything. Hopefully someone out
there has a better idea than I do. I am open to ALL ideas.

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default How can I create a fill that increments based on worksheet numbers

Hi!

Try this:

I'm assuming the naming convention is like this:

0001
0002
0010
0100

=INDIRECT(TEXT(ROWS($1:1),"0000")&"!A2")

Copy down as needed.

Biff

"Amanda097" wrote in message
...
I have a totals worksheet (named "Totals," that tabulates all the
information
found on the other 100 worksheets in the database. The other worksheets
are
named "0001", "0002", "0003," and so on.

I need to reference data from all 100 worksheets to the Totals sheet. An
example of what I need is:

A2 on the Totals sheet needs to reference Sheet 0001 cell A2
A3 on the Totals sheet needs to reference Sheet 0002 cell A2
A4 on the Totals sheet needs to reference Sheet 0003 cell A2, etc...

I've hunted around with different fill techniques, and different reference
techniques but haven't been able to find anything. Hopefully someone out
there has a better idea than I do. I am open to ALL ideas.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Amanda097
 
Posts: n/a
Default How can I create a fill that increments based on worksheet num

Thanks - it worked great!!!

"Biff" wrote:

Hi!

Try this:

I'm assuming the naming convention is like this:

0001
0002
0010
0100

=INDIRECT(TEXT(ROWS($1:1),"0000")&"!A2")

Copy down as needed.

Biff

"Amanda097" wrote in message
...
I have a totals worksheet (named "Totals," that tabulates all the
information
found on the other 100 worksheets in the database. The other worksheets
are
named "0001", "0002", "0003," and so on.

I need to reference data from all 100 worksheets to the Totals sheet. An
example of what I need is:

A2 on the Totals sheet needs to reference Sheet 0001 cell A2
A3 on the Totals sheet needs to reference Sheet 0002 cell A2
A4 on the Totals sheet needs to reference Sheet 0003 cell A2, etc...

I've hunted around with different fill techniques, and different reference
techniques but haven't been able to find anything. Hopefully someone out
there has a better idea than I do. I am open to ALL ideas.

Thanks.




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
quickly create extra copies of a worksheet template in a workbook simon Excel Worksheet Functions 2 October 23rd 05 07:04 PM
Update a formula based on date worksheet was saved Kevin McQuain Excel Worksheet Functions 0 October 6th 05 02:06 PM
Create a list in one worksheet of the other worksheets' names Kelli Excel Worksheet Functions 0 July 7th 05 08:45 PM
increment/populate numbers by worksheet br549 Excel Discussion (Misc queries) 3 January 4th 05 08:57 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM


All times are GMT +1. The time now is 09:14 AM.

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"