Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I wrote a function which is using SumProduct. a is a worksheet range b is a worksheet cell c is a worksheet range Function cond_average(a, b, c) If Application.SumProduct(--(a = b), --(c < "")) = 0 Then cond_average = -1 Else cond_average = Application.SumIf(a, b, c) / Application.CountIf(a, b) End If End Function Sumif and CountIf functions works but SumProduct returns error. What is wrong ? thank you Gil D. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with SUMPRODUCT | Excel Discussion (Misc queries) | |||
SUMPRODUCT #VALUE! problem | Excel Worksheet Functions | |||
Problem with SumProduct | Excel Discussion (Misc queries) | |||
Problem using sumproduct | Excel Worksheet Functions | |||
SUMPRODUCT Problem | Excel Discussion (Misc queries) |