Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why does this (part of a) macro not work? Who can help me to find a solution?
Dim MyData As Range Dim MyResult As Range Set MyData = Range("D4:D14") Set MyResult = Range("D16") MyResult.Select Selection.Formula = "=COUNTIF(MyData,""*less*"")" 'This one does not work.It doesn't recognize "MyData" as a range. "MyData" appears as 'text' in the Excelsheet. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif or Something Else? | 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 |