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! |
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! |
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! |
All times are GMT +1. The time now is 08:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com