List of memory usage with Excel functions

J

Johney

Is there a list somewhere that people know of that shows the relative
memory use of different Excel functions? It would be helpful, for
example, to know whether to use OFFSET or INDEX when the worksheet
calls for thousands of these.

Thanks.
 
H

Harlan Grove

Johney said:
Is there a list somewhere that people know of that shows the relative
memory use of different Excel functions? It would be helpful, for
example, to know whether to use OFFSET or INDEX when the worksheet
calls for thousands of these.

INDEX is almost always a better choice. Dunno about memory usage, but INDEX
is nonvolatile while OFFSET is volatile. That means formulas using OFFSET
recalc each time any action triggers a recalc, even when nothing would have
changed in the range to which OFFSET resolves.

But if you want to find out relative memory usage, enter a few hundred
thousand cells' worth of the same OFFSET or INDIRECT formula, save the file,
close Excel, then bring up Task Manager and reopen each such file
separately. Check the memory usage for the Excel.exe process.
 

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

Top