Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find value in array | Excel Worksheet Functions | |||
Is it possible? | Excel Worksheet Functions | |||
vlookup + indirect formula | Excel Discussion (Misc queries) | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Indirect used in an array formula | Excel Worksheet Functions |