Thank you all for answering... those are very informative info. Thanks Roger
to pick out my other post. and Yes... that's exactly what I wanted to do. I
have name ranges for each column, they all start at row7 and end on same row
(data will be kept adding into spreadsheet therefore i don't/can't tell the
exact rows they end at).
the biggest problem is the "header rows" (data from row 1 to row 6 some
maybe blank and some maybe not) therefore, I can't just use counta for entire
row - counta for header rows.
Thanks,
"Roger Govier" wrote:
> Hi Jeff
>
> It is usually better to keep your question in the same thread rather
> than start a new one.
>
> Debra posted an answer to your original question
> =OFFSET(Sheet1!$B$7,0,0,COUNTA(Sheet1!$B:$B)
> -COUNTA(Sheet1!$B$1:$B$6),1)
>
> Alternatively, you could just start the COUNTA from row 7 down to 65536
> (or shorter if you know your data range is not going to extend for the
> whole of the column.
>
> =OFFSET(Sheet1!$B$7,0,0,COUNTA(Sheet1!$B$7:$B$65536),1)
>
> In your original thread, you did ask about making the formula generic.
> If you were meaning that the range width might vary as well as the
> height, then in place of the 1 at the end of the formula you could have
> another COUNTA to calculate the width.
>
> =OFFSET(Sheet1!$B$7,0,0,COUNTA(Sheet1!$B$7:$B$65536),COUNTA($B$7:$IV$7))
>
> --
> Regards
>
> Roger Govier
>
>
> "Jeff" <(E-Mail Removed)> wrote in message
> news:7D2FAEC2-488A-4A65-BE99-(E-Mail Removed)...
> > Hi all,
> > Would you show me how to use counta to find the height of a range.
> > The
> > range is from the 7th row of a column to the last cell of the same
> > column
> > (the column may not be the longest).
> >
> > Thanks,
> >
>
>
>
|