Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
comotoman
 
Posts: n/a
Default Help with formula fill down


in sheet2 i have formulas that copy information from sheet3.
sheet3:sheet25 are all the same templates. How can I fill down the
formulas and have them change only the sheet name? All of the formulas
is allready locked with the $ sign except the sheet name.

a4='sheet 3'!$I$2
a5='sheet 4'!$I$2
a6='sheet 5'!$I$2

etc...


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=472767

  #2   Report Post  
comotoman
 
Posts: n/a
Default


Any ideas? It would be nice to fill and not have to type all the sheet
names.


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=472767

  #3   Report Post  
Jonathan Cooper
 
Posts: n/a
Default

I'm copying from a post I did the other day. I think you'll be able to use
this to solve your problem.

__________________________________________________ ________________

Not sure exactly what your trying to do but, this example will get you
started.

Sheet names: Data, January, February, etc...

On the Data sheet, in cell B1, you have the following formula

=INDIRECT(A1&"!A1")

This basically says take the text in A1 and concatenate it together with an
exclamation point and the reference A1. Result: =January!A1

This then looks at the January worksheet on cell A1.

Hope that helps.

"ATK" wrote:


I have a need to add text to a formula that references another cell.

Say on one worksheet, I have a column of text from January to December.
Also, I have worksheets named from January to December. I have
multiple cell references for each worksheet, but they are always the
same cell for each worksheet, i.e. January!A1, February!A1, etc.

How can I reference these cells without typing in the January! part (or
selecting them from each sheet). Ideally, I would like to be able to
point to a cell and effectively say add a cell reference to it and have
it return the value of that cell.


--
ATK
------------------------------------------------------------------------
ATK's Profile: http://www.excelforum.com/member.php...o&userid=27662
View this thread: http://www.excelforum.com/showthread...hreadid=471785


__________________________________________________ ___________________

"comotoman" wrote:


in sheet2 i have formulas that copy information from sheet3.
sheet3:sheet25 are all the same templates. How can I fill down the
formulas and have them change only the sheet name? All of the formulas
is allready locked with the $ sign except the sheet name.

a4='sheet 3'!$I$2
a5='sheet 4'!$I$2
a6='sheet 5'!$I$2

etc...


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=472767


  #4   Report Post  
bj
 
Posts: n/a
Default

this looks like a good place for the indirect function
in A4 enter
=indirect("'sheet " &(row()-1) & "'!$I$2")
and copy down.

Note I assume it is sheet 10 and not sheet10
you will have to change the equation for the higher number sheets if it is
the latter

"comotoman" wrote:


in sheet2 i have formulas that copy information from sheet3.
sheet3:sheet25 are all the same templates. How can I fill down the
formulas and have them change only the sheet name? All of the formulas
is allready locked with the $ sign except the sheet name.

a4='sheet 3'!$I$2
a5='sheet 4'!$I$2
a6='sheet 5'!$I$2

etc...


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=472767


  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

A4: =INDIRECT("'sheet " & ROW()-1 & "'!I2")

In article ,
comotoman
wrote:

in sheet2 i have formulas that copy information from sheet3.
sheet3:sheet25 are all the same templates. How can I fill down the
formulas and have them change only the sheet name? All of the formulas
is allready locked with the $ sign except the sheet name.

a4='sheet 3'!$I$2
a5='sheet 4'!$I$2
a6='sheet 5'!$I$2

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
formula will not fill correctly due to odd number rows Barb Excel Worksheet Functions 3 May 10th 05 09:10 PM
Fill formula question Meredith Excel Worksheet Functions 1 March 29th 05 11:19 AM
Possible? formula in one cell can fill another cell Sherri Excel Worksheet Functions 3 March 24th 05 12:35 AM
Formula to count the cells in a range that have a fill color. Slainteva Excel Discussion (Misc queries) 2 January 19th 05 08:25 PM
Formula to count the cells in a range that have a fill color. Molly F Excel Discussion (Misc queries) 2 January 19th 05 06:15 PM


All times are GMT +1. The time now is 09:59 PM.

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"