LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Need Help: 'sheets' function with a variable in a formula

I have a function that will pull data from a cell on another sheet:

=RIGHT(Sheet1!$B$1,LEN(Sheet1!$B$1)-FIND(":",Sheet1!$B$1,1))

the problem is that I want to pull the same cell data from hundreds of
sheets (sheets 1 to 200) and list the cell data in a column.

how can I get the "sheet" to change for each consecutive row in the column?

I was thinking I'd have another column with the sheet number (1, 2, 3, etc)
and have a formula within the above forumula to pull that number. Something
like in place of "Sheet1!$B$1" it would be something like "sheets(H2)!$B$1"
where the H2 cell has the value of the sheet... 1, 2, etc. but this is not
working.

I know this must be simple... thanks in advance!



btw... sorry for the cross-post, not sure what forum was best to use.


 
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
Set Sheets as variable jlclyde Excel Discussion (Misc queries) 2 December 3rd 08 06:26 PM
add new sheets in a workbook with new sheets being a variable [email protected] Excel Discussion (Misc queries) 1 April 11th 06 08:38 PM
Need Help: 'sheets' function with a variable in a formula livin Excel Worksheet Functions 2 September 7th 05 10:27 PM
range variable across sheets Ward Germonpré Excel Programming 3 March 14th 05 06:42 PM
How to use a variable as a sheets code name Rodney POWELL Excel Programming 0 August 25th 04 04:55 PM


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