A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Count number of rows with specific text



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2010, 07:42 PM posted to microsoft.public.excel.worksheet.functions
Rock
external usenet poster
 
Posts: 23
Default Count number of rows with specific text

I am using this formula to count the number of rows in Column C with text.

=SUMPRODUCT(((LEN(C4:C500)=4)+0)*(ISTEXT(C4:C500)) )

I need, instead, for this formula to count the number of rows in Column C
with specific text i.e. the text “PUSH”. Can you help?

  #2  
Old May 24th, 2010, 08:02 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Count number of rows with specific text

=countif(c:c,"push")
will count the number of cells in column C that have push in them.


Rock wrote:

I am using this formula to count the number of rows in Column C with text.

=SUMPRODUCT(((LEN(C4:C500)=4)+0)*(ISTEXT(C4:C500)) )

I need, instead, for this formula to count the number of rows in Column C
with specific text i.e. the text “PUSH”. Can you help?


--

Dave Peterson
  #3  
Old May 24th, 2010, 08:46 PM posted to microsoft.public.excel.worksheet.functions
Rock
external usenet poster
 
Posts: 23
Default Count number of rows with specific text

This is absolutely perfect! Thank you.

"Dave Peterson" wrote:

=countif(c:c,"push")
will count the number of cells in column C that have push in them.


Rock wrote:

I am using this formula to count the number of rows in Column C with text.

=SUMPRODUCT(((LEN(C4:C500)=4)+0)*(ISTEXT(C4:C500)) )

I need, instead, for this formula to count the number of rows in Column C
with specific text i.e. the text “PUSH”. Can you help?


--

Dave Peterson
.

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.