Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Count the number of cells that conatin a "." in a range

I need a formula, like the countif function, that will count the number of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Count the number of cells that conatin a "." in a range

Hi Jonathan

Try
=COUNTIF(A2:B6,"*.*")
--
Regards
Roger Govier

"Jonathan Brown" wrote in message
...
I need a formula, like the countif function, that will count the number of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Count the number of cells that conatin a "." in a range

=SUMPRODUCT(--(ISNUMBER(FIND(".",A1:A20))))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jonathan Brown" wrote in message
...
I need a formula, like the countif function, that will count the number of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Count the number of cells that conatin a "." in a range

Hi Roger
Why did I make it so difficult!
--
Bernard

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
Hi Jonathan

Try
=COUNTIF(A2:B6,"*.*")
--
Regards
Roger Govier

"Jonathan Brown" wrote in
message ...
I need a formula, like the countif function, that will count the number
of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Count the number of cells that conatin a "." in a range

If you'd been sitting with me when I read your answer you'd have seen me
smack myself in the forehead and then subsequently fall out of my chair. It
wasn't pretty. Thanks for such a simple answer!

"Roger Govier" wrote:

Hi Jonathan

Try
=COUNTIF(A2:B6,"*.*")
--
Regards
Roger Govier

"Jonathan Brown" wrote in message
...
I need a formula, like the countif function, that will count the number of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Count the number of cells that conatin a "." in a range

Hi Bernard

Don't beat yourself up.
You should have seen a reply I posted yesterday, which Rick Rothstein
"simplified"!!!
Only occasionally, do I have lucid thoughts<bg

Are you going to the Summit?
--
Regards
Roger Govier

"Bernard Liengme" wrote in message
...
Hi Roger
Why did I make it so difficult!
--
Bernard

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
Hi Jonathan

Try
=COUNTIF(A2:B6,"*.*")
--
Regards
Roger Govier

"Jonathan Brown" wrote in
message ...
I need a formula, like the countif function, that will count the number
of
cells that contain a period. The countif function only looks for exact
matches of the criteria. Is there any way I can put in the criteria a
contains function?

=Countif(A2:B6, contains("."))

I can't imagine this would be difficult.




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
Using "=randbetween" to select a number from a range of cells a0xbjzz Excel Worksheet Functions 4 August 4th 07 07:47 PM
Formula to count number of time stamps within a range in a column having dates formatted as "custom" Sam Excel Discussion (Misc queries) 3 June 19th 07 12:33 AM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
Count cells that contain "Y" in columnA IF contains"X" in columnB holliedavis Excel Worksheet Functions 6 July 20th 06 06:12 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


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