Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a way of counting the number of cells in a column that contain at
least in part a certain string variable that is contained in another cell using for instance the countif function e.g. A B 1 CABG CABG 2 CABG 3 PCI 4 CABG, PCI 5 PCI =countif(b1:b5, a1) I want the answer to be 3, but the above function gives an answer of 2 because cell B4 does not fit exactly. However, I do want to use a1 as the criteria and not just put "*CABG*" instead |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif | Excel Discussion (Misc queries) | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |