Hello,
I've got an array Countifs function that should return array as result:
But instead Result_Array becoming array it becomes double from "non array" function.
However if I do:
The Result will be SUM from an Array...
Does this mean that Evaluate cannot return true result of an formula(e.g. array) but the value result as the formula in cell would do?
Best Regards,
Barb
I've got an array Countifs function that should return array as result:
Code:
Dim ws_Test As Worksheet
Dim Result_Array As Variant
Set ws_Test = ThisWorkbook.Worksheets("Sheet1")
Result_Array = ws_Test.Evaluate("COUNTIFS(I1,A:A,I2,B:B,I3,C:C,I4,D:D,I5,E:E,I6,F:F)")
But instead Result_Array becoming array it becomes double from "non array" function.
However if I do:
Code:
Result_Array = ws_Test.Evaluate("SUM(COUNTIFS(I1,A:A,I2,B:B,I3,C:C,I4,D:D,I5,E:E,I6,F:F))")
Does this mean that Evaluate cannot return true result of an formula(e.g. array) but the value result as the formula in cell would do?
Best Regards,
Barb