Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Anshuman
 
Posts: n/a
Default How to count occcurence of specific text block in a column

I want to count how many times initials of employees (e..g AD, AS, RR, AN,
VB, DO) appear in a specific column. I am using COUNT IF function for that.

The problem is as soon as I put initials fof 2 employees in one cell, the
formula does not recognise either of them.

To give you a gist, I want to see how many people work out of office , so I
have a calendar style worksheet( month=col, date=row). If I input AD on 13
day of jan, , I get 1 for AD, in the row where I am collecting total for AD .
But if I put both AD, AS on 13 jan, then neither AD nor AS gets recognised.

Please advise a suitable formula or an alternative method.
Thanks
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

=countif(a:a,"*ad*")

Make sure you use a separator between each person.



Anshuman wrote:

I want to count how many times initials of employees (e..g AD, AS, RR, AN,
VB, DO) appear in a specific column. I am using COUNT IF function for that.

The problem is as soon as I put initials fof 2 employees in one cell, the
formula does not recognise either of them.

To give you a gist, I want to see how many people work out of office , so I
have a calendar style worksheet( month=col, date=row). If I input AD on 13
day of jan, , I get 1 for AD, in the row where I am collecting total for AD .
But if I put both AD, AS on 13 jan, then neither AD nor AS gets recognised.

Please advise a suitable formula or an alternative method.
Thanks


--

Dave Peterson
  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

=COUNTIF(A:A,"*AD*")

should work.

HTH
Jason
Atlanta, GA

-----Original Message-----
I want to count how many times initials of employees

(e..g AD, AS, RR, AN,
VB, DO) appear in a specific column. I am using COUNT IF

function for that.

The problem is as soon as I put initials fof 2 employees

in one cell, the
formula does not recognise either of them.

To give you a gist, I want to see how many people work

out of office , so I
have a calendar style worksheet( month=col, date=row).

If I input AD on 13
day of jan, , I get 1 for AD, in the row where I am

collecting total for AD .
But if I put both AD, AS on 13 jan, then neither AD nor

AS gets recognised.

Please advise a suitable formula or an alternative

method.
Thanks
.

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
Counting unique entries in column A but only if specific values appear in columns B and C markx Excel Worksheet Functions 1 February 10th 05 11:52 AM
Count the text in a column - Part II Peter Curtis Excel Discussion (Misc queries) 3 January 6th 05 06:58 PM
How do I count the amount of text in a column and then add them Peter Curtis Excel Discussion (Misc queries) 1 January 6th 05 01:06 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


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

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

About Us

"It's about Microsoft Excel"