Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default reference to other sheet as a string

Hi, I need to use the following formula =OFFSET('HW - TCO'!B7,0,-1)
HW - TCO is reference to another sheet in my excel. the name of the sheet is
actually string which should be manipulate forexample : HW appears under cell
A1...TCO is a result of other string manipulating. but when i try to write
the formula: =offset(' ... and then "range("a1")&... it always fell!!!
i need help! thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default reference to other sheet as a string


miri tz.;297382 Wrote:
Hi, I need to use the following formula =OFFSET('HW - TCO'!B7,0,-1)
HW - TCO is reference to another sheet in my excel. the name of the
sheet is
actually string which should be manipulate forexample : HW appears
under cell
A1...TCO is a result of other string manipulating. but when i try to
write
the formula: =offset(' ... and then "range("a1")&... it always fell!!!
i need help! thanks


Hi,
maybe you are looking for the INDIRECT function

try=offset(indirect("'"&A1&"-"&"TCO"&"'!b7"),0,-1)

replace the strings in the indirect function with cell references where
necessary.

HTH


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=83122

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default reference to other sheet as a string

=offset(indirect("'" & $a$1 & " - " & yourTCOFormula & "'!b7"), 0, -1)



miri tz. wrote:

Hi, I need to use the following formula =OFFSET('HW - TCO'!B7,0,-1)
HW - TCO is reference to another sheet in my excel. the name of the sheet is
actually string which should be manipulate forexample : HW appears under cell
A1...TCO is a result of other string manipulating. but when i try to write
the formula: =offset(' ... and then "range("a1")&... it always fell!!!
i need help! thanks


--

Dave Peterson
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
how do I convert text string into a cell reference Dave Davis Excel Discussion (Misc queries) 4 May 18th 23 11:48 AM
Convert String to Function Reference ViestaWu Excel Worksheet Functions 1 November 27th 07 06:58 AM
Can I show a reference value with a string? [email protected] Excel Discussion (Misc queries) 5 November 18th 05 08:31 PM
dynamic cell reference within a text string gvm Excel Worksheet Functions 4 July 25th 05 02:40 AM
How to get a cell reference of by searchig a text string? Najeeb Excel Discussion (Misc queries) 1 January 3rd 05 07:03 AM


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