Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I am having problems constructing a complex evaluate formula that I am using within a user defined function:- This formula works fine:- Evaluate("SUMPRODUCT((" & strTask_Type & " = " & ColType & ")*(" & strTask_DCIT & "))") This also works:- EvalSTR = ("SUMPRODUCT((" & str_Date & "=" & strTask_Start & ")" & "*(" & str_Date & "<=" & strTask_Finish & "))") But when I try to combine the 2 I get a Value# error:- EvalSTR = ("SUMPRODUCT((" & str_Date & "=" & strTask_Start & ")" & "*(" & str_Date & "<=" & strTask_Finish & ")*" & "(""" & ColType & """=" & strTask_Type & ")*(" & strTask_DCIT & "))") I can't see what's wrong.... Any ideas Ta Andi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
evaluate | Excel Worksheet Functions | |||
Formula Will Not Evaluate | Excel Worksheet Functions | |||
evaluate a function | Excel Programming | |||
Evaluate or WorksheetFunction Problem | Excel Programming | |||
using Evaluate on a Name object? | Excel Programming |