Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nice
 
Posts: n/a
Default Building the sheet name from two parts?


Hi,

Anybody has an idea how to get the function below to work?

-=COUNT(INDIRECT(\"'\"&B34&\" (S)\"\"'!$H:$H\"))-

The problem is the -" (S)"- part, that is the 'constant part' of the
sheet name I'm trying to refer. Is it even possible that I can make
this to work with indirect or should I found another solution?


--
Nice
------------------------------------------------------------------------
Nice's Profile: http://www.excelforum.com/member.php...o&userid=17653
View this thread: http://www.excelforum.com/showthread...hreadid=519369

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Building the sheet name from two parts?

This worked for me

=COUNT(INDIRECT("'"&B34&" (S)'!$H:$H"))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Nice" wrote in message
...

Hi,

Anybody has an idea how to get the function below to work?

-=COUNT(INDIRECT(\"'\"&B34&\" (S)\"\"'!$H:$H\"))-

The problem is the -" (S)"- part, that is the 'constant part' of the
sheet name I'm trying to refer. Is it even possible that I can make
this to work with indirect or should I found another solution?


--
Nice
------------------------------------------------------------------------
Nice's Profile:

http://www.excelforum.com/member.php...o&userid=17653
View this thread: http://www.excelforum.com/showthread...hreadid=519369



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nice
 
Posts: n/a
Default Building the sheet name from two parts?


Thanks Bob,

Just don't understand how come I didn't found the solution now that I
see it...

:)


--
Nice
------------------------------------------------------------------------
Nice's Profile: http://www.excelforum.com/member.php...o&userid=17653
View this thread: http://www.excelforum.com/showthread...hreadid=519369

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
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM
lock tab in sheet 2 until cell in sheet one is completed john tempest Excel Worksheet Functions 7 November 24th 05 08:45 AM
In Excel, how do you make one whole sheet equal to another. ryan Excel Discussion (Misc queries) 2 August 31st 05 07:03 PM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


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