PC Review


Reply
Thread Tools Rate Thread

Avoid volatile Indirect problem

 
 
teepee
Guest
Posts: n/a
 
      10th May 2007
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




 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      10th May 2007
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
(E-Mail Removed)
"teepee" <(E-Mail Removed)> wrote in message
news:46432b51$(E-Mail Removed)...
>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
>
>
>
>


 
Reply With Quote
 
teepee
Guest
Posts: n/a
 
      10th May 2007
interesting idea - shall try

"Don Guillett" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
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
(E-Mail Removed)
"teepee" <(E-Mail Removed)> wrote in message
news:46432b51$(E-Mail Removed)...
>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
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoid volatile Indirect problem teepee Microsoft Excel Programming 2 10th May 2007 04:57 PM
Avoid volatile Indirect problem teepee Microsoft Excel Misc 2 10th May 2007 04:57 PM
why is the INDIRECT function volatile? =?Utf-8?B?RGF2ZSBG?= Microsoft Excel Worksheet Functions 2 25th Oct 2006 02:10 PM
is there a NON-volatile version of INDIRECT ?? =?Utf-8?B?c3BpZGVybWFu?= Microsoft Excel Misc 1 4th Feb 2005 04:54 PM
EXCEL VBA non-volatile INDIRECT aareding Microsoft Excel Programming 2 2nd Apr 2004 09:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 PM.