The following formula accomplishes this in regular excel:
and I've tried to build it into a macro that I'm building by doing the following on a filtered range:Please Login or Register to view this content.
but it's not working.... I get the error "Run-time error 1004: Unable to get the CountIf property of the WorksheetFunction class"Please Login or Register to view this content.
The code works fine if I'm just trying to get the sum:
So I know the problem lies in my syntax of the second half of the formula.....Please Login or Register to view this content.
ideas?
Bookmarks