If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Count rows with text

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-07, 18:09
campster campster is offline
Registered User
 
Join Date: Feb 2005
Posts: 332
Count rows with text

Can someone help get my head out of my @#@?

I have a column of names

Joe
Bill
TEd

And I want to simply count the rows that contain names (text) and place the sum in another cell.

Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 06-07-07, 18:34
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Hello - long time no see I'm afraid I mostly wanted to just say hello but this is supposed to be a technical forum so .... have you looked up COUNTIF() in help? I think that does want you want.
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
  #3 (permalink)  
Old 06-07-07, 21:26
campster campster is offline
Registered User
 
Join Date: Feb 2005
Posts: 332
It's been awhile. I have new job that's VB.net,C++ and fortran (http://www.gses.com) so there's not much time to play with Access/Excel anymore. I found a function CountA that does what I want as long as my list is the onlu thing in the column.

I just do =COUNTA(A:A) and it sums up all the cells with text. Of course subtract one it I include a header.

I'll look at countif tomorrow to see if it is a better choice.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On