Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You need to do more testing. That won't solve your problem
Function cond_average(a, b, c) x = "SumProduct(--(" & a.Address(0,0,xlA1,True) _ & "=" & b.Address(0,0,xlA1,True) & "), --(" & _ c.Address(0,0,xlA1,True) & "< """"))" should be what you are after. It is true the the range reference is located on a specific sheet, but since you are using the address property, this would not be visible to the evaluate function unless you specified the sheet name - just like you have to do in the worksheet. -- Regards, Tom Ogilvy "Gil D." wrote in message oups.com... Hello, Thank you for your help. It solved my problem. Gil D. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Defined Fuction Returning Range Help | Excel Programming | |||
Selecting a Cell inside a range | Excel Programming | |||
Selecting a Cell inside a range | Excel Programming | |||
Selecting a Range inside a range | Excel Programming | |||
Check if a range is inside another | Excel Programming |