ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   error with adress function (https://www.excelbanter.com/excel-discussion-misc-queries/195118-error-adress-function.html)

denbee

error with adress function
 
why does this formula yield the #value error ?

=SUM(A1;adress(1;C1))

and how can i solve it ?

Niek Otten

error with adress function
 
You probably need the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"denbee" wrote in message ...
| why does this formula yield the #value error ?
|
| =SUM(A1;adress(1;C1))
|
| and how can i solve it ?



Dave Peterson

error with adress function
 
Keeping with your syntax, you could use:

=sum(a1;indirect(address(1;c1)))
or a formula that will only recalculate when it needs to.
=sum(a1;index(1:1;c1))


===
Formulas with =indirect() in them will recalc whenever excel recalcs.


denbee wrote:

why does this formula yield the #value error ?

=SUM(A1;adress(1;C1))

and how can i solve it ?


--

Dave Peterson


All times are GMT +1. The time now is 09:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com