Address in IF formula.. doens work..

  • Thread starter Thread starter SpeeD72
  • Start date Start date
S

SpeeD72

Hi.
I´ve made the following formula but it doesn´t assume the
values in the address formula..... why?

=IF((ADDRESS((ROW());(COLUMN());;;A1))<>"";COLUMN();"")

A1=Sheet2!

Thanks a lot
SpeeD
 
Address returns a string. If you want to reference a cell with the result,
would use the result with indirect.
If A1 contains Sheet2!, it should only contain Sheet2 with out an
exclamation point

=if(Indirect(Address(row(),Column(),,,A1)) <> "", column(),"")

Change the , to ; if that is your regional list separator.

--
Regards,
Tom Ogilvy


Hi.
I´ve made the following formula but it doesn´t assume the
values in the address formula..... why?

=IF((ADDRESS((ROW());(COLUMN());;;A1))<>"";COLUMN();"")

A1=Sheet2!

Thanks a lot
SpeeD
 
What are you trying to do? Even if you change your semicolons to
commas, the test will always evaluate as true.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top