Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF(UDF, E2, L:L)
My UDF generates
$E$500:$E$651 When I embedded the UDF into SUMIF, the UDF shows "$E$500:$E$651" How can I remove the quotation mark, or is there another option (to make this SUMIF work)? Thanks in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF(UDF, E2, L:L)
INDIRECT
SUMIF(INDIRECT(UDF),E2,L:L) HTH Die_Another_Day "Who I Am" wrote in message oups.com... My UDF generates $E$500:$E$651 When I embedded the UDF into SUMIF, the UDF shows "$E$500:$E$651" How can I remove the quotation mark, or is there another option (to make this SUMIF work)? Thanks in advance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF(UDF, E2, L:L)
Your addin is returning an address. What you want is for it to return a range
of cells. Without seeing the code of your UDF that is as far as I can comment. if you need more help ost the code for your UDF... -- HTH... Jim Thomlinson "Who I Am" wrote: My UDF generates $E$500:$E$651 When I embedded the UDF into SUMIF, the UDF shows "$E$500:$E$651" How can I remove the quotation mark, or is there another option (to make this SUMIF work)? Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
how to Sumif | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |