I am attempting to count w/two criteria. A1:A20 = shaded cells/B1:B20 = text values. I have the correct vba to make the colorfunction formula work on its own, but am having difficulty making it work with two criteria. (C1 = shade criteria, D1 = text criteria)
This is what I have now:
=SUMPRODUCT(--(colorfunction(C1,A1:A20,FALSE)),--(B1:B20=D1))
I'm attempting to show how many cells of identical color have the same data in another column as well.
Suggestions? The VBA code is listed below.
Thanks!
Please Login or Register to view this content.
Bookmarks