Dynamic Range in Excel that won't count formulas

C

conorfinnegan

I have an excel file that I constantly have to update the the ranges
for some of my formulas because sometimes the data fills A1:A35 or
sometimes can go down to A1:45. There are formulas that pull data
from other sheets in cells A1:A45 (if there is data). I would like the
range to only include those cell values that actually have values and
not the remaining formulas that return blanks.

How do I do this?

Thanks in advance for your help.

Conor
 
T

T. Valko

Assuming that the blank cells are all at the bottom of the range:

=OFFSET(A1,,,SUMPRODUCT(--(LEN(A1:A100)>0)))
 

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