Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello group,
I want to place in a cell C8 with VBA the statement =Sumproduct((G3:G2500="w")*1) Range("C8") = "=Sumproduct((G3:G2500="w")*1)" Compile error, Expected: end of statement Obviously, the inverted commas around w are causing the problem. Is there a solution for this ? I have a workaround of putting "w" in F1 and referencing F1 instead of "w" Thanks, Michael Singmin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
#N/A error in sumproduct | Excel Discussion (Misc queries) | |||
SUMPRODUCT ERROR | Excel Discussion (Misc queries) | |||
SUMPRODUCT Error | Excel Discussion (Misc queries) | |||
SUMPRODUCT with #VALUE error | Excel Worksheet Functions | |||
Sumproduct #num error | Excel Worksheet Functions |