Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
NumberOfTriples = WorksheetFunction.CountIf(Myrange, "???")
The above gives NumberOfTriples as 1 which is incorrect For Each cell In MyRange If Len(cell) = 3 Then NumberOfTriples = NumberOfTriples + 1 Next This one gives NumberOfTriples as 4 which is correct The ranges are simple 3x3 or 5x5 like A1:C3 thanks John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF doesn't work | Excel Discussion (Misc queries) | |||
Will countif work? | Excel Programming | |||
How to get Countif to work this out? | Excel Worksheet Functions | |||
Countif does not work | Excel Worksheet Functions | |||
countif(a1:a12,">TODAY()") How do I get this to work? | Excel Worksheet Functions |