#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default indirect formula

Hi,

In using the indirect formula

=IF((INDIRECT($E5&"!$C$167"))=0,"",INDIRECT($E5&"! $C$167"))

wher E5 is the name of the worksheet, when I name the worksheet say for eg
ask 0708, I get a reference problem. But when I rename it ask0708 which has
no spaces, it accepts it. I even tried it like this ask_0708 but still got
the reference problem.

Can you please tell me why this happens.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 87
Default indirect formula

You have to wrap the sheet name in single quotes.

Something like:
INDIRECT("'"&$E5&"'!$C$167")

Note inside the (, it is [double quote][single quote][double quote] and
then after the 2nd & it is [double quote][single quote]!C$167".

Scott

sanmos wrote:
Hi,

In using the indirect formula

=IF((INDIRECT($E5&"!$C$167"))=0,"",INDIRECT($E5&"! $C$167"))

wher E5 is the name of the worksheet, when I name the worksheet say for eg
ask 0708, I get a reference problem. But when I rename it ask0708 which has
no spaces, it accepts it. I even tried it like this ask_0708 but still got
the reference problem.

Can you please tell me why this happens.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default indirect formula

Thanks

"Scott" wrote:

You have to wrap the sheet name in single quotes.

Something like:
INDIRECT("'"&$E5&"'!$C$167")

Note inside the (, it is [double quote][single quote][double quote] and
then after the 2nd & it is [double quote][single quote]!C$167".

Scott

sanmos wrote:
Hi,

In using the indirect formula

=IF((INDIRECT($E5&"!$C$167"))=0,"",INDIRECT($E5&"! $C$167"))

wher E5 is the name of the worksheet, when I name the worksheet say for eg
ask 0708, I get a reference problem. But when I rename it ask0708 which has
no spaces, it accepts it. I even tried it like this ask_0708 but still got
the reference problem.

Can you please tell me why this happens.

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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
vlookup + indirect formula smart.daisy Excel Discussion (Misc queries) 6 April 13th 06 07:00 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Indirect used in an array formula Werner Rohrmoser Excel Worksheet Functions 3 July 23rd 05 04:03 PM


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