Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Count Multiple Instances of Text in a Cell

Now that's cool JE, really COOL..............a keeper.

Vaya con Dios,
Chuck, CABGx3



"JE McGimpsey" wrote:

One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=SUM(LEN(I2:I44)-LEN(SUBSTITUTE(I2:I44,"blue","")))/LEN("blue")


In article ,
dave roth wrote:

Good Afternoon:

I need to be able to count multiple instances of the same piece of text in a
given cell, i.e. "blue, blue, red, green." How I currently have this setup
is:

=countif(I2:I44,"*blue*")
=countif(I2:I44,"*green*")
=countif(I2:I44,"*red*")
on separate rows. In the above example these will return 1 blue, 1 green,
and 1 red; I need it to return 2 blues.

Thanks very much, and a good weekend to all.

Dave Roth


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 Multiple Instances of Text in a Cell Dave Peterson Excel Discussion (Misc queries) 0 January 4th 08 07:53 PM
Count Multiple Instances of Text in a Cell T. Valko Excel Discussion (Misc queries) 0 January 4th 08 07:50 PM
Count Multiple Instances of Text in a Cell JE McGimpsey Excel Discussion (Misc queries) 0 January 4th 08 07:45 PM
Count Multiple Instances of Text in a Cell CLR Excel Discussion (Misc queries) 0 January 4th 08 07:45 PM
A counting formula that won't count multiple instances of same val Watercolor artist Excel Worksheet Functions 5 June 14th 05 03:19 PM


All times are GMT +1. The time now is 02:53 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"