Hello!
I have a little issue here with my formula.
I using the following formula to count how many entries I have in an indirect worksheet (B2) depending on if column A has a certain value (A6).
=IF(ISBLANK($A6),"",COUNTIF((INDIRECT("'"&$B$2&"'!$A$20:$A$2000")),$A6))
Now, what I would need is a way to count, depending on if the indirect worksheet has the specific value (A6) in column A of the indirect worksheet BUT then SUM up the figures from column M of the specific entry only.
I have been playing around with this but am stuck now...
=IF(ISBLANK($A6),"",COUNT(IF((INDIRECT("'"&$B$2&"'!$A$20:$A$2000"))=$A6,SUM((INDIRECT("'"&$B$2&"'!$M$20:$M$2000"))),"NA")))
Any assistance would be appreciated.
Thanks,
A2k
Bookmarks