Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi all,
your thoughts please? I need to count instances of a text string, in this example "QR", across my range. However the "QR" may exists within another string eg. cell A1 - PROJECT 4338567 QR complete cell a2 - 433756 testing QR etc the below is clearly wrong, but it may give you an idea of what I need to acheive for each cell in Range(cells(2, 2), Cells(20, 20)).Cells if cell.value CONTAINS "QR" then qrcount = qrcount + 1 end if next msgbox qrrcount excel 97 any help appreciated :) steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count one character in a string across a range of cells? | Excel Worksheet Functions | |||
Count occurance of a leter in a text string | Excel Worksheet Functions | |||
Count Instances of Text in String Q | Excel Worksheet Functions | |||
Sum / count data from text string with delimiter | Excel Worksheet Functions | |||
Locate and count the recurrences of a text string | Excel Discussion (Misc queries) |