Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
carrera
 
Posts: n/a
Default Dragging formulas with sheet names

My sheets are named TM1, TM2, TM3 etc. to TM100

My formula reads ='TM1'!S$46

How can I drag the formula down so the subsequent formulas read....

='TM2'!S$46
='TM3'!S$46
etc.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Dragging formulas with sheet names

=INDIRECT("TM"&ROW(A1)&"!S$46")
quotes on sheet name not needed when there are no spaces in name
but this add them =INDIRECT("'TM"&ROW(A1)&"'!S$46")
Each "' is " followed by '
no time to test, so try it out
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"carrera" wrote in message
...
My sheets are named TM1, TM2, TM3 etc. to TM100

My formula reads ='TM1'!S$46

How can I drag the formula down so the subsequent formulas read....

='TM2'!S$46
='TM3'!S$46
etc.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
carrera
 
Posts: n/a
Default Dragging formulas with sheet names

Hi
This just changed the A1 in the formula to A2, A3, etc.

I'm trying to have everything in the formula remain the same Except that I
need the first cell to be from the first sheet of the workbook (S46), the
cell below that to be the contents of S46 from the 2 sheet of the workbook,
the cell below that be the contents of S46 from the 3rd sheet of the
workbook, and so on.

"Bernard Liengme" wrote:

=INDIRECT("TM"&ROW(A1)&"!S$46")
quotes on sheet name not needed when there are no spaces in name
but this add them =INDIRECT("'TM"&ROW(A1)&"'!S$46")
Each "' is " followed by '
no time to test, so try it out
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"carrera" wrote in message
...
My sheets are named TM1, TM2, TM3 etc. to TM100

My formula reads ='TM1'!S$46

How can I drag the formula down so the subsequent formulas read....

='TM2'!S$46
='TM3'!S$46
etc.

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
carrera
 
Posts: n/a
Default Dragging formulas with sheet names

Whoops, sorry...at first the formula wasn't working because I was referencing
it to the wrong part of my spreadsheet.

It DID work!

Thanks

"carrera" wrote:

Hi
This just changed the A1 in the formula to A2, A3, etc.

I'm trying to have everything in the formula remain the same Except that I
need the first cell to be from the first sheet of the workbook (S46), the
cell below that to be the contents of S46 from the 2 sheet of the workbook,
the cell below that be the contents of S46 from the 3rd sheet of the
workbook, and so on.

"Bernard Liengme" wrote:

=INDIRECT("TM"&ROW(A1)&"!S$46")
quotes on sheet name not needed when there are no spaces in name
but this add them =INDIRECT("'TM"&ROW(A1)&"'!S$46")
Each "' is " followed by '
no time to test, so try it out
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"carrera" wrote in message
...
My sheets are named TM1, TM2, TM3 etc. to TM100

My formula reads ='TM1'!S$46

How can I drag the formula down so the subsequent formulas read....

='TM2'!S$46
='TM3'!S$46
etc.

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
reference to sheets without using sheet names Wes Excel Worksheet Functions 13 September 3rd 05 08:15 PM
Get other sheet names into a column Keyser Excel Worksheet Functions 2 August 27th 05 02:02 AM
Using Sheet names in formulas Kirk Excel Worksheet Functions 1 August 24th 05 08:23 AM
How do you apply Names in formulas? Mac Excel Discussion (Misc queries) 2 August 2nd 05 11:51 PM
How can I show sheet names in different colours dabblerdave New Users to Excel 2 December 2nd 04 03:49 PM


All times are GMT +1. The time now is 12:57 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"