Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave
 
Posts: n/a
Default Multiple Employee Name Entries in One Cell

I need to have excel count multiple employee name entries in one cell. I'm
currently using the COUNTIF formula. For example, if I enter Jane Doe twice
in one cell, I need the cell with the COUNTIF formula to give me a count of
2. Or, if I enter Jane Doe and John Doe in the same one cell, I need two
different cells with the COUNTIF formula to give me a count of 1 each (one
for Jane and another for John).
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

=Countif() counts the number of cells -- not the number of entries in that cell.

But you could use a different formula:

=(LEN(A1)-LEN(SUBSTITUTE(LOWER(A1),lower("jane doe"),"")))/LEN("jane doe")





Dave wrote:

I need to have excel count multiple employee name entries in one cell. I'm
currently using the COUNTIF formula. For example, if I enter Jane Doe twice
in one cell, I need the cell with the COUNTIF formula to give me a count of
2. Or, if I enter Jane Doe and John Doe in the same one cell, I need two
different cells with the COUNTIF formula to give me a count of 1 each (one
for Jane and another for John).


--

Dave Peterson
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
Excel: Clear all cell entries EXCEPT formulas? newsgal Excel Discussion (Misc queries) 6 March 18th 06 01:46 AM
Referencing a newly created worksheet Charyn Excel Worksheet Functions 2 May 2nd 05 04:13 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 10:59 AM
multiple entries benny Excel Worksheet Functions 3 December 6th 04 02:38 AM


All times are GMT +1. The time now is 08:59 AM.

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"