Question : Spread sheet formula to reference entire row/column, or at least the number of rows/columns available

I'm working on the spreadsheet which requires a dynamic range for a table
The table grows dynamically both in columns and rows
In addition the table is referenced by a named range for the upper left hand cell

The table may use all the remaining columns for that spread sheet.  Normally I would use countA in the offset function is in my left hand sell as the reference than offset of zero and zero, and a resize of countA applied to total number of columns less the column of the range which pegs the table and the same for the rows.

The issue is that that this table starts about halfway across the sheet and halfway down as well.
Not only that but the version of XL that could be used might be 97, 2003 or 2007 if which means that there could be varying numbers of columns and rows available to the sheet

Without using VBA or adding an index of some description to each row and column how would one determine and the number of columns and rows available in that sheet.

The only way I can think of is to use two versions of two different instances of countif and add them up

EG
TotalColumnsInThe Sheet = countif("2:2),"")+countif("2:2),"*")
Not very eloquent and I'm sure there will be better way.

Although this would work can someone please point out me in a better way, one which doesn't use vba.

Answer : Spread sheet formula to reference entire row/column, or at least the number of rows/columns available

Sirplus

You started out (as I understand it) asking how to see the totsal count of columns / rows in teh sheet.

I appreciate the question may have migrated and therefore I answered the wrong question but was there a reason you didn't comment on ...

If you want something to tell you how many rows or columns exist then:

=rows(a:a) ... for rows
=columns(1:1) for columns

Chris
Random Solutions  
 
programming4us programming4us