Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Problems with indirect

What is even more weird is that I can take an indirect formula that is
working and put it in one of the sheets and it will not work.

"Brad" wrote:

I agree that getting the value error is odd. When I'm in four certain tabs -
the indirect does not "link" the letters and numbers together. In going
through the formula evaluator -
=Indirect("G"&11+ad65)
=Indirect("G"&11+65)
=Indirect("G"&76)
#value

Rather than giving me Indirect("G76")

Don't know why....

"vezerid" wrote:

What is the value stored in AD65? Try, in the formula bar, to select
the INDIRECT argument i.e. "G"&11+ad65 and press F9. What does the
expression evaluate to?

The strange thing is you are getting #VALUE! and not #REF!. This is
likely if INDIRECT interprets the argument as a range rather than a
single cell, in which case you would need to array-enter it to avoid
#VALUE!.

HTH
Kostis Vezerides

On Dec 11, 6:16 pm, Brad wrote:
On one particular sheet I'm having problem getting indirect to work

=indirect("G"&11+ad65) will give me a value error -

However

=indirect("G"&text(11+ad65,"##)) - will give me the correct answer

In the same workbook - the first method of indirect works just fine.

Does anyone know what is going on with this?



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Problems with indirect

SYMPTOMS
In Microsoft Excel, when you concatenate cells, you receive a #VALUE! error
if the Transition Formula Evaluation (TFE) option in version 5.0 or the
Alternate Expression Evaluation (AEE) option in version 4.0 is enabled and
one of the concatenated cells is blank or contains a number.

This behavior also occurs with the INDIRECT function when you use
concatenated cells. For example, the formula

=INDIRECT("A"&B1)

Turning this off solved the problem

"Brad" wrote:

What is even more weird is that I can take an indirect formula that is
working and put it in one of the sheets and it will not work.

"Brad" wrote:

I agree that getting the value error is odd. When I'm in four certain tabs -
the indirect does not "link" the letters and numbers together. In going
through the formula evaluator -
=Indirect("G"&11+ad65)
=Indirect("G"&11+65)
=Indirect("G"&76)
#value

Rather than giving me Indirect("G76")

Don't know why....

"vezerid" wrote:

What is the value stored in AD65? Try, in the formula bar, to select
the INDIRECT argument i.e. "G"&11+ad65 and press F9. What does the
expression evaluate to?

The strange thing is you are getting #VALUE! and not #REF!. This is
likely if INDIRECT interprets the argument as a range rather than a
single cell, in which case you would need to array-enter it to avoid
#VALUE!.

HTH
Kostis Vezerides

On Dec 11, 6:16 pm, Brad wrote:
On one particular sheet I'm having problem getting indirect to work

=indirect("G"&11+ad65) will give me a value error -

However

=indirect("G"&text(11+ad65,"##)) - will give me the correct answer

In the same workbook - the first method of indirect works just fine.

Does anyone know what is going on with this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Problems with indirect

Thanks for posting back.

Brad wrote:

SYMPTOMS
In Microsoft Excel, when you concatenate cells, you receive a #VALUE! error
if the Transition Formula Evaluation (TFE) option in version 5.0 or the
Alternate Expression Evaluation (AEE) option in version 4.0 is enabled and
one of the concatenated cells is blank or contains a number.

This behavior also occurs with the INDIRECT function when you use
concatenated cells. For example, the formula

=INDIRECT("A"&B1)

Turning this off solved the problem

"Brad" wrote:

What is even more weird is that I can take an indirect formula that is
working and put it in one of the sheets and it will not work.

"Brad" wrote:

I agree that getting the value error is odd. When I'm in four certain tabs -
the indirect does not "link" the letters and numbers together. In going
through the formula evaluator -
=Indirect("G"&11+ad65)
=Indirect("G"&11+65)
=Indirect("G"&76)
#value

Rather than giving me Indirect("G76")

Don't know why....

"vezerid" wrote:

What is the value stored in AD65? Try, in the formula bar, to select
the INDIRECT argument i.e. "G"&11+ad65 and press F9. What does the
expression evaluate to?

The strange thing is you are getting #VALUE! and not #REF!. This is
likely if INDIRECT interprets the argument as a range rather than a
single cell, in which case you would need to array-enter it to avoid
#VALUE!.

HTH
Kostis Vezerides

On Dec 11, 6:16 pm, Brad wrote:
On one particular sheet I'm having problem getting indirect to work

=indirect("G"&11+ad65) will give me a value error -

However

=indirect("G"&text(11+ad65,"##)) - will give me the correct answer

In the same workbook - the first method of indirect works just fine.

Does anyone know what is going on with this?



--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Problems with indirect

Congratulations of finding the failure mode.

I guess that it might be worth seeing whether it works if you change
=Indirect("G"&11+ad65) to =Indirect("G"&(11+ad65)) , but the way you
describe the problem I fear that it might not.

Your formula =Indirect("G"&11+ad65) provokes an interesting question on
precedence of operations. We know that multiplication and division take
precedence over addition or subtraction in expressions like =A1+B1*C1, but
where does string concatenation fit compared with these arithmetic
precences?
--
David Biddulph

"Brad" wrote in message
...
SYMPTOMS
In Microsoft Excel, when you concatenate cells, you receive a #VALUE!
error
if the Transition Formula Evaluation (TFE) option in version 5.0 or the
Alternate Expression Evaluation (AEE) option in version 4.0 is enabled and
one of the concatenated cells is blank or contains a number.

This behavior also occurs with the INDIRECT function when you use
concatenated cells. For example, the formula

=INDIRECT("A"&B1)

Turning this off solved the problem

"Brad" wrote:

What is even more weird is that I can take an indirect formula that is
working and put it in one of the sheets and it will not work.

"Brad" wrote:

I agree that getting the value error is odd. When I'm in four certain
tabs -
the indirect does not "link" the letters and numbers together. In
going
through the formula evaluator -
=Indirect("G"&11+ad65)
=Indirect("G"&11+65)
=Indirect("G"&76)
#value

Rather than giving me Indirect("G76")

Don't know why....

"vezerid" wrote:

What is the value stored in AD65? Try, in the formula bar, to select
the INDIRECT argument i.e. "G"&11+ad65 and press F9. What does the
expression evaluate to?

The strange thing is you are getting #VALUE! and not #REF!. This is
likely if INDIRECT interprets the argument as a range rather than a
single cell, in which case you would need to array-enter it to avoid
#VALUE!.

HTH
Kostis Vezerides

On Dec 11, 6:16 pm, Brad wrote:
On one particular sheet I'm having problem getting indirect to work

=indirect("G"&11+ad65) will give me a value error -

However

=indirect("G"&text(11+ad65,"##)) - will give me the correct answer

In the same workbook - the first method of indirect works just
fine.

Does anyone know what is going on with this?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Problems with indirect

David

The way that indirect works (I believe) is that it uses AOS between the "&"'s
Having the additional paren's doesn't make a difference here.

"David Biddulph" wrote:

Congratulations of finding the failure mode.

I guess that it might be worth seeing whether it works if you change
=Indirect("G"&11+ad65) to =Indirect("G"&(11+ad65)) , but the way you
describe the problem I fear that it might not.

Your formula =Indirect("G"&11+ad65) provokes an interesting question on
precedence of operations. We know that multiplication and division take
precedence over addition or subtraction in expressions like =A1+B1*C1, but
where does string concatenation fit compared with these arithmetic
precences?
--
David Biddulph

"Brad" wrote in message
...
SYMPTOMS
In Microsoft Excel, when you concatenate cells, you receive a #VALUE!
error
if the Transition Formula Evaluation (TFE) option in version 5.0 or the
Alternate Expression Evaluation (AEE) option in version 4.0 is enabled and
one of the concatenated cells is blank or contains a number.

This behavior also occurs with the INDIRECT function when you use
concatenated cells. For example, the formula

=INDIRECT("A"&B1)

Turning this off solved the problem

"Brad" wrote:

What is even more weird is that I can take an indirect formula that is
working and put it in one of the sheets and it will not work.

"Brad" wrote:

I agree that getting the value error is odd. When I'm in four certain
tabs -
the indirect does not "link" the letters and numbers together. In
going
through the formula evaluator -
=Indirect("G"&11+ad65)
=Indirect("G"&11+65)
=Indirect("G"&76)
#value

Rather than giving me Indirect("G76")

Don't know why....

"vezerid" wrote:

What is the value stored in AD65? Try, in the formula bar, to select
the INDIRECT argument i.e. "G"&11+ad65 and press F9. What does the
expression evaluate to?

The strange thing is you are getting #VALUE! and not #REF!. This is
likely if INDIRECT interprets the argument as a range rather than a
single cell, in which case you would need to array-enter it to avoid
#VALUE!.

HTH
Kostis Vezerides

On Dec 11, 6:16 pm, Brad wrote:
On one particular sheet I'm having problem getting indirect to work

=indirect("G"&11+ad65) will give me a value error -

However

=indirect("G"&text(11+ad65,"##)) - will give me the correct answer

In the same workbook - the first method of indirect works just
fine.

Does anyone know what is going on with this?







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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
Indirect and Sumif Syntax Problems [email protected] Excel Discussion (Misc queries) 3 August 4th 06 01:59 AM
Problems with PULL function, INDIRECT.EXT and so forth [email protected] Excel Worksheet Functions 4 June 23rd 05 10:02 AM
Is "INDIRECT" the cause of these problems? Stephen POWELL Excel Discussion (Misc queries) 2 February 7th 05 02:21 PM


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