Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I am trying to count the number of times a particular phrase appears in a cell. example: "#Call" is what I want to count. however all the cells are formatted like #Callme-name, Can any one help... -- kelljeff ------------------------------------------------------------------------ kelljeff's Profile: http://www.excelforum.com/member.php...o&userid=32007 View this thread: http://www.excelforum.com/showthread...hreadid=525671 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try...
=COUNTIF(A2:A100,"#Call*") or =COUNTIF(A2:A100,B2&"*") ....where B2 contains your criteria, such as '#Call'. Hope this helps! In article , kelljeff wrote: I am trying to count the number of times a particular phrase appears in a cell. example: "#Call" is what I want to count. however all the cells are formatted like #Callme-name, Can any one help... |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() The First worked... Thank you. Just out of curiosity, I tried that minus the "*" and it did not work. Does the "*" do something special ? Again Thank you... -- kelljeff ------------------------------------------------------------------------ kelljeff's Profile: http://www.excelforum.com/member.php...o&userid=32007 View this thread: http://www.excelforum.com/showthread...hreadid=525671 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The "*" is a wildcard character. So basically any cell where the first
5 characters are '#Call' gets counted. If you change the formula to... =COUNTIF(A2:A100,"*#Call*") ....a cell gets counted when "#Call" occurs anywhere in the string. For example, cells containing the following strings all get counted... #Call #Callxxxxx xxxx#Call xxxx#Callxxxx Hope this helps! In article , kelljeff wrote: The First worked... Thank you. Just out of curiosity, I tried that minus the "*" and it did not work. Does the "*" do something special ? Again Thank you... |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I used part of this and it got me thinking of how could I count how many
times a character is appears within a CELL. I would like to count the backward slash character "\". If cell A2 contains "w:\jason\hopson\file.xls" the number would be 3. Any advise? "Domenic" wrote: The "*" is a wildcard character. So basically any cell where the first 5 characters are '#Call' gets counted. If you change the formula to... =COUNTIF(A2:A100,"*#Call*") ....a cell gets counted when "#Call" occurs anywhere in the string. For example, cells containing the following strings all get counted... #Call #Callxxxxx xxxx#Call xxxx#Callxxxx Hope this helps! In article , kelljeff wrote: The First worked... Thank you. Just out of curiosity, I tried that minus the "*" and it did not work. Does the "*" do something special ? Again Thank you... |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try...
=LEN(A2)-LEN(SUBSTITUTE(A2,"\","")) Hope this helps! In article , Rookie_User wrote: I used part of this and it got me thinking of how could I count how many times a character is appears within a CELL. I would like to count the backward slash character "\". If cell A2 contains "w:\jason\hopson\file.xls" the number would be 3. Any advise? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
conditional counting with Excel | Excel Worksheet Functions | |||
conditional counting of autolist cells/rows | Excel Discussion (Misc queries) | |||
Counting rows, then counting values. | Excel Discussion (Misc queries) | |||
Counting names in a column but counting duplicate names once | Excel Discussion (Misc queries) | |||
Counting... | Excel Worksheet Functions |