Code to calculate only visible cells

B

bradmcq

Hi ,

I have a large sheet with multiple array calulculations looking at a large
number of rows. Once filtered the the specific user the numer of rows
visible is dramatically reduced, but the calculation time is still slow as
the hidden rows are also being calculated. Is it posssible to write a macro
to calculate only the visible cells (ie. not calculate the hidden rows)

Thanks in advance
 
P

Patrick Molloy

not if the hidden cells are part of the array formula that also include
visible cells

alternatively, why don't you use a filter to push the visible data to
another sheet then apply the formula to that that data...removing the formula
altogether from the 'source'?
 

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