Remember Me?

#1
September 4th 12, 01:05 AM posted to microsoft.public.excel.newusers
 external usenet poster First recorded activity by ExcelBanter: Sep 2012 Posts: 3
Count number of text rows???

I want to have the number of students in a class to automatically update
when I add or remove a row. In other words, I want the value for "count" to
always be correct. I see how I could do this by making an =row() column,
but that wouldn't be idiot proof. Any new row would have to have that value
added by the user. Is there any way to count rows that have no numeric
value in them?

Example

First Name Last Name
Alma Diderot
Mark Woolser
Amy Fleisher
Count 3

#2
September 4th 12, 07:16 AM posted to microsoft.public.excel.newusers
 external usenet poster First recorded activity by ExcelBanter: Apr 2011 Posts: 3,730
Count number of text rows???

Hi,

Am Mon, 3 Sep 2012 20:05:05 -0400 schrieb LAS:

Example

First Name Last Name
Alma Diderot
Mark Woolser
Amy Fleisher
Count 3

try:
=COUNTA(A:A)-1

Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
#3
September 4th 12, 07:59 AM
 Senior Member First recorded activity by ExcelBanter: Mar 2012 Posts: 663

Quote:
 Originally Posted by LAS I want to have the number of students in a class to automatically update when I add or remove a row. In other words, I want the value for "count" to always be correct. I see how I could do this by making an =row() column, but that wouldn't be idiot proof. Any new row would have to have that value added by the user. Is there any way to count rows that have no numeric value in them? Example First Name Last Name Alma Diderot Mark Woolser Amy Fleisher Count 3
Hi,

I'm not sure I'm understanding what you mean. When you say "is there any way to count rows that have no numeric value in them?", do you mean you're trying to count text cells only or a combination of any cells in a given range that do not contain numbers, whether or not they are blank or contain text?

As far as I can see, in your example data above (presuming it covers cells A1 to B5) if you enter =COUNTA(A1:A5)-2 into cell B5 that should give you the result you're looking for and will allow you to enter rows and delete rows.

All it does is count the number of populated cells between A1 and A5 and subtracts 2 from that total to account for the header value in A1 and the footer value in A5.
#4
September 4th 12, 10:49 PM posted to microsoft.public.excel.newusers
 external usenet poster First recorded activity by ExcelBanter: Sep 2012 Posts: 3
Count number of text rows???

Thanks so much!!!
That's not in the list of any of the formulas on the formula tab that I can
see. Should I have been able to find this myself?
I'm using Excel 2010

"Claus Busch" wrote in message ...

Hi,

Am Mon, 3 Sep 2012 20:05:05 -0400 schrieb LAS:

Example

First Name Last Name
Alma Diderot
Mark Woolser
Amy Fleisher
Count 3

try:
=COUNTA(A:A)-1

Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

#5
September 5th 12, 06:49 AM posted to microsoft.public.excel.newusers
 external usenet poster First recorded activity by ExcelBanter: Apr 2011 Posts: 3,730
Count number of text rows???

Hi,

Am Tue, 4 Sep 2012 17:49:35 -0400 schrieb LAS:

That's not in the list of any of the formulas on the formula tab that I can
see. Should I have been able to find this myself?
I'm using Excel 2010

Formulas = Insert Function = Statistical

Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Rock Excel Worksheet Functions 2 May 24th 10 08:46 PM cooey Excel Worksheet Functions 5 May 13th 10 08:18 PM smcmoran Excel Worksheet Functions 5 September 29th 08 05:53 PM Pieter Excel Discussion (Misc queries) 2 November 8th 06 01:24 PM Mex Excel Discussion (Misc queries) 6 August 23rd 06 02:29 AM

All times are GMT +1. The time now is 04:59 PM.