• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

=SUMPRODUCT(--(INDIRECT

Rodrigues

Member
All
I have the following formula and works fine:
=SUM(IF(FREQUENCY('[Prod Log Days 060715.xls]A - M'!$A$2:$A$10000,'[Prod Log Days 060715.xls]A - M'!$A$2:$A$10000)>0,1))

Now I need to add Indirect function/, but doesn't work:

=SUMPRODUCT(IF(FREQUENCY(INDIRECT("'" & BasePath & "[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000, (INDIRECT("'" & BasePath & '[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000)>0,1))

Could anyone tell me where is wrong or any other alternative?
Many thanks
Regards
Rodrigues
 
Hi Rodrigues ,

Try either of the following :

=SUM(IF(FREQUENCY(INDIRECT("'" & BasePath & "[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000"), INDIRECT("'" & BasePath & "[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000"))>0,1))

entered as an array formula , using CTRL SHIFT ENTER.

or

=SUMPRODUCT(IF(FREQUENCY(INDIRECT("'" & BasePath & "[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000"), INDIRECT("'" & BasePath & "[Prod Log Days " & CurrentDate & ".xls]A - M'!$A$2:$A$10000"))>0,1))

entered as a normal formula.

Narayan
 
Back
Top