#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default count


hi,

i am trying to count the number of certain charectors in a field
example below

press/three/press

count the number of "p" and the number of "e"

thanks steve


--
stevekirk
------------------------------------------------------------------------
stevekirk's Profile: http://www.excelforum.com/member.php...o&userid=37328
View this thread: http://www.excelforum.com/showthread...hreadid=570686

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default count

Use the FIND worksheet function

To find "p" and "e"

Enter your text in a "press/three/press" in a cell(A1)
Use FIND in another cell
=FIND("p",A1)
In another cell
=FIND"("e",A1)

You could find out more on Microsoft Excel help
Also spare time to have a look at my new Excel Blog
http://xlmaster.blogspot.com

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default count

=LEN(A2)-LEN(SUBSTITUTE(A2,"e",""))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"stevekirk" wrote
in message ...

hi,

i am trying to count the number of certain charectors in a field
example below

press/three/press

count the number of "p" and the number of "e"

thanks steve


--
stevekirk
------------------------------------------------------------------------
stevekirk's Profile:

http://www.excelforum.com/member.php...o&userid=37328
View this thread: http://www.excelforum.com/showthread...hreadid=570686



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default count


thanks for your help working great


--
stevekirk
------------------------------------------------------------------------
stevekirk's Profile: http://www.excelforum.com/member.php...o&userid=37328
View this thread: http://www.excelforum.com/showthread...hreadid=570686

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default count


hi,
use below given function:

=+LEN(B19)-LEN(SUBSTITUTE(B19,"a",""))

Note: counting occurance of "a" in B19



"stevekirk" wrote:


hi,

i am trying to count the number of certain charectors in a field
example below

press/three/press

count the number of "p" and the number of "e"

thanks steve


--
stevekirk
------------------------------------------------------------------------
stevekirk's Profile: http://www.excelforum.com/member.php...o&userid=37328
View this thread: http://www.excelforum.com/showthread...hreadid=570686


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
Need formula to count spinoffs jamescarvin Excel Worksheet Functions 1 July 14th 06 04:07 PM
Subtotals by count PineRest Excel Discussion (Misc queries) 1 May 10th 06 05:09 PM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM


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