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

Is there a way to enter a formula that counts the number of cells that start
with "MC" within a certain range? I.E. - Count the cells from U9:U278 that
start with MC...I tried =COUNT(LEFT(U238:U240,2)="MC") but this did not work.

Any help?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default count function

=COUNTIF(U238:U240,"MC*")

--


Regards,


Peo Sjoblom

"lightbulb" wrote in message
...
Is there a way to enter a formula that counts the number of cells that
start
with "MC" within a certain range? I.E. - Count the cells from U9:U278
that
start with MC...I tried =COUNT(LEFT(U238:U240,2)="MC") but this did not
work.

Any help?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default count function

Try

=SUMPRODUCT(--(LEFT(U238:U240,2)="MC"))

Mike

"lightbulb" wrote:

Is there a way to enter a formula that counts the number of cells that start
with "MC" within a certain range? I.E. - Count the cells from U9:U278 that
start with MC...I tried =COUNT(LEFT(U238:U240,2)="MC") but this did not work.

Any help?

Thanks!

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 Function Astro Excel Worksheet Functions 2 July 16th 08 11:09 AM
WHICH COUNT FUNCTION? Johnny1r Excel Worksheet Functions 5 February 23rd 08 09:13 PM
COUNT Function Richard Excel Worksheet Functions 3 March 12th 07 04:38 PM
count function Brian Excel Worksheet Functions 8 December 21st 04 09:25 PM
Sum and Count Function Daniell Excel Worksheet Functions 0 November 2nd 04 12:03 AM


All times are GMT +1. The time now is 08:31 PM.

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"