Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default INDIRECT and Defined Names

It appears that the INDIRECT function is inconsistent with a relatively
defined name.
Ive defined Right as referring to =!B1 while A1 was active. As expected,
=Right, when entered directly into a cell, returns the value of offset one
column. However, when I try INDIRECT (Right) the value of B1 is returned,
regardless of what cell its being entered. This is inconsistent with the
INDIRECT behavior, which is evaluating text to reference, because Right
represents a reference.
Any insight?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 968
Default INDIRECT and Defined Names

To achieve a relative reference with
INDIRECT you have to use R1C1 notation like this
=SUM(INDIRECT("R[-12]C",FALSE),INDIRECT("R[-12]C[1]",FALSE))


regards
Charles
______________________
Decision Models
FastExcel 2.3 now available
Name Manager 4.0 now available
www.DecisionModels.com

"Tevuna" wrote in message
...
It appears that the INDIRECT function is inconsistent with a relatively
defined name.
I've defined "Right" as referring to =!B1 while A1 was active. As
expected,
=Right, when entered directly into a cell, returns the value of offset one
column. However, when I try INDIRECT ("Right") the value of B1 is
returned,
regardless of what cell it's being entered. This is inconsistent with the
INDIRECT behavior, which is evaluating text to reference, because "Right"
represents a reference.
Any insight?



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 to keep names defined after a copy? Warda Excel Discussion (Misc queries) 0 December 5th 06 03:08 PM
NAMES DEFINED F. Lawrence Kulchar Excel Discussion (Misc queries) 5 November 14th 06 07:54 AM
Defined names DREED Excel Discussion (Misc queries) 3 March 10th 06 02:55 PM
Rename Defined Names Sige Excel Worksheet Functions 3 January 13th 06 05:44 PM
Using non defined names from another sheet pQp Excel Worksheet Functions 6 July 17th 05 11:06 PM


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