Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default How to count rows with text

FSt1 is right, for a specific string, use something like this:
=COUNTIF(A1:A100,"ABC")

To count all rows with text, sue something like this:
=COUNTA(A1:A100)


Regards,
Ryan---


--
RyGuy


"FSt1" wrote:

hi,
=countif(2:2,"abc")
or
count the number of time "abc" appears in row2.

Regards
FST1

"davegb" wrote:

Can someone tell me a simple way to count the number of occurences of
a text string "abc" that are in adjacent columns in a row? In other
words, in row 2, starting in column "B" I have "abc". It appears again
in column C, and so forth. At some point, the contents of the cells in
row 2 changes to "xyz". I need to know how many "abc"s are there so I
can copy them to another spreadsheet. Can someone show me a good way
to do something like this?
Thanks in advance!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count number of rows with specific text Rock Excel Worksheet Functions 2 May 24th 10 08:46 PM
count of number of rows within a range with a certain text cooey Excel Worksheet Functions 5 May 13th 10 08:18 PM
Count same text from different rows kashish Excel Discussion (Misc queries) 2 July 7th 09 01:40 PM
how do I count rows with text values in several columns. scmopar Excel Worksheet Functions 4 January 30th 09 02:20 AM
Count rows in text file by loading into array L Mehl Excel Programming 5 September 11th 04 07:15 AM


All times are GMT +1. The time now is 06:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"