Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 2003
In a VBA routine, I'm trying to do a simple countif. If Application.WorksheetFunction _ .CountIf(Range("a:a"),"010020") 0 Then This evaluates to TRUE when I expect FALSE. In the column it's evaluating, I have... A 10020 10021 10022 It's obviously counting the 10020 entry, but I want an exact match to the literal criteria I enter. How do I force the countif to look for the text string, not the value? Thanks, Chuck |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find String in another string - only between spaces | Excel Worksheet Functions | |||
Find Many String options in ONE String | Excel Worksheet Functions | |||
Concatenate & Force argument to End of String-(spsjp) | Excel Worksheet Functions | |||
backwards find function to find character in a string of text | Excel Programming | |||
find a string inside another string | Excel Programming |