Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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 |
#2
![]() |
|||
|
|||
![]()
Assuming the source data is in cols A and B,
Try in say, C1: =SUMPRODUCT((TRIM(A1:A100)="John")*(LEFT(TRIM(B1:B 100),1)="C")) Adjust the ranges to suit Note: You can't use entire col references (A:A, B:B, etc) in SUMPRODUCT -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "Azhar Arain" <Azhar wrote in 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting rows based on criteria in multiple cells | Excel Discussion (Misc queries) | |||
counting with a criteria in multiple transactions | Excel Worksheet Functions | |||
SUMIF multiple criteria in 1 range | Excel Worksheet Functions | |||
Counting "rows", i.e. simultaneous criteria for multiple cells | Excel Worksheet Functions | |||
How do I email selected excel cells to multiple recipients? | Excel Worksheet Functions |