Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
using =COUNTIF() in a variable range on a different worksheet?
Help please.
I just got an nice answer on how to use the ".Formula()" function programmatically but I forgot one detail: the range has to be variable: 'ActiveWorkbook.Sheets("WSB").Cells(1, 2).Formula ="=COUNTIF('WSA'! D2:D36000,""<N/A"")" So, imagine that the range "D2:D36000" is dynamic. I've been trying to substitute the value of "D36000" using "&d_end" but no success. Something is telling me I should use a "range" type variable but I'm too newbie I think. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying a variable range of data from one worksheet to another. | Excel Discussion (Misc queries) | |||
Variable named range in worksheet function | Excel Worksheet Functions | |||
Using variable sized range in CountIf() | Excel Discussion (Misc queries) | |||
Excel Named Formula Weakly Interacts with a Variable Range on the Worksheet - Re-Visit | Excel Discussion (Misc queries) | |||
variable range countif | Excel Worksheet Functions |