Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Total Rows within a column EXCEL

Status
Not open for further replies.

pspenn

IS-IT--Management
Dec 27, 2002
59
US
Good Afternoon,
I am trying to build a formula that does not need to be modified each time I paste data into the spreadsheet.

I am looking for a way to count the total number of rows in a given column so I can base the calculation on the correct number of rows.

Does anyone know of a way to do this?

Thanks,
Perry
 
Have you looked a t the COUNT and COUNTA formulas?

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Will any of the rows ever be empty? If not, =count(A:A) will give you how many numeric values are in column A. =CountA(A:A) will give you how many populated cells are in column A (text or numeric).

[tt]-John[/tt]
________________________
To get the best answers fast, please read faq181-2886
 
This is perfect! I didn't fully understand the Count usage until just now...
Thanks!
Perry
 
You can use the COUNT or COUNTA function as the height argument of the OFFSET function in order to create a dynamic range to do what you want.

Regards
Ken..............

----------------------------------------------------------------------------
[peace]It's easier to beg forgiveness than ask permission[2thumbsup]

----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top