ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting Cells with multiple criteria.One criteria supporting wild (https://www.excelbanter.com/excel-worksheet-functions/9076-counting-cells-multiple-criteria-one-criteria-supporting-wild.html)

Azhar Saleem

Counting Cells with multiple criteria.One criteria supporting wild
 
How can I count cells starting with character "C" in second column and
related with the name John only.


John Car
Steve Bus
Bush Cycle
Powell Truck
Bruce Van
Bush Car
Powell Bus
Powell Cycle
Bruce Truck
John Van
Steve Car
Steve Bus
Bush Cycle
Powell Truck
John Van
John Cycle
John Car




-----Original Message-----
How can I count cells starting with character "C" in

second column and
related with the name John only.


John Car
Steve Bus
Bush Cycle
Powell Truck
Bruce Van
Bush Car
Powell Bus
Powell Cycle
Bruce Truck
John Van
Steve Car
Steve Bus
Bush Cycle
Powell Truck
John Van
John Cycle
John Car

.
Create a third column. Insert the formula if(a1="john",if

(left(b1,1)="c",1,0),0) Then total up the column.


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com