ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Avoid volatile Indirect problem (https://www.excelbanter.com/excel-discussion-misc-queries/142261-avoid-volatile-indirect-problem.html)

teepee[_2_]

Avoid volatile Indirect problem
 
I have a cell formula in my spreadsheet

=INDIRECT("'http://www.domain.com/" &$B$2&"/[results.xls]results'!$e2")

&$B$2& rfefers to the second part of a URL which changes as B21 changes its
value

The spreadsheet functions perfectly except that it goes incredibly slowly
because INDIRECT is volatile and there are 120,000 occurences of this
formula or a variation on the same.

Anyone know a way around this or an alternative to INDIRECT that does the
same thing?

Many thanks

tp





Don Guillett

Avoid volatile Indirect problem
 
how about a nice looping macro
for i=1 to whatever number
cells(i,2)="aaaaaaaaaa"&cells(i,1)&"bbbbbbbbbb"
next

--
Don Guillett
SalesAid Software

"teepee" wrote in message
...
I have a cell formula in my spreadsheet

=INDIRECT("'http://www.domain.com/" &$B$2&"/[results.xls]results'!$e2")

&$B$2& rfefers to the second part of a URL which changes as B21 changes
its
value

The spreadsheet functions perfectly except that it goes incredibly slowly
because INDIRECT is volatile and there are 120,000 occurences of this
formula or a variation on the same.

Anyone know a way around this or an alternative to INDIRECT that does the
same thing?

Many thanks

tp






teepee[_2_]

Avoid volatile Indirect problem
 
interesting idea - shall try

"Don Guillett" wrote in message
...
how about a nice looping macro
for i=1 to whatever number
cells(i,2)="aaaaaaaaaa"&cells(i,1)&"bbbbbbbbbb"
next

--
Don Guillett
SalesAid Software

"teepee" wrote in message
...
I have a cell formula in my spreadsheet

=INDIRECT("'http://www.domain.com/" &$B$2&"/[results.xls]results'!$e2")

&$B$2& rfefers to the second part of a URL which changes as B21 changes
its
value

The spreadsheet functions perfectly except that it goes incredibly slowly
because INDIRECT is volatile and there are 120,000 occurences of this
formula or a variation on the same.

Anyone know a way around this or an alternative to INDIRECT that does the
same thing?

Many thanks

tp








All times are GMT +1. The time now is 04:33 PM.

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