Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default count special characters

I have tried countif but it does not work.

so...if i have to count that in a column how many are there and how many <
are there...what function should be used?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default count special characters

i was doing something wrong...it worked not
=COUNTIF($B$1:$B$9,"=")


"Gaurav" wrote in message
...
I have tried countif but it does not work.

so...if i have to count that in a column how many are there and how many
< are there...what function should be used?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default count special characters

=SUMPRODUCT(--(A2:A10=""))+SUMPRODUCT(--(A2:A10="<"))



"Gaurav" wrote:

I have tried countif but it does not work.

so...if i have to count that in a column how many are there and how many <
are there...what function should be used?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default count special characters

Give this formula a try (it should work for any text string, not just
individual special characters)...

=SUMPRODUCT(LEN(B1:B9)-LEN(SUBSTITUTE(B1:B9,"<","")))/LEN("<")

or, put the text to find in a cell, say, C1...

=SUMPRODUCT(LEN(B1:B9)-LEN(SUBSTITUTE(B1:B9,C1,"")))/LEN(C1)

Rick


"Gaurav" wrote in message
...
I have tried countif but it does not work.

so...if i have to count that in a column how many are there and how many
< are there...what function should be used?


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
Special Characters sandyboy Excel Worksheet Functions 2 September 19th 07 04:02 PM
Special Characters aftamath Excel Discussion (Misc queries) 1 October 18th 05 11:02 PM
Special characters Matthew S Excel Discussion (Misc queries) 10 September 24th 05 12:36 AM
special characters (little box) YuChieh Excel Discussion (Misc queries) 9 June 14th 05 01:41 PM
special characters tjh Excel Worksheet Functions 3 May 13th 05 10:50 PM


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