DrunknMunky14
New Member
- Joined
- Jun 4, 2014
- Messages
- 15
Hi guys,
Firstly, excuse the difference in spelling for those in America (I am Australian)
So I've searched the net and found Count Cell Colour formulas, but I'm trying to find a way to count cells dependant on other counted cells.
For example (I don't know how to format in here so the words are the highlighted cells in excel)
<tbody>
</tbody>
I want to do a COUNTIF(A1:A4 = Green AND B1:B4 = Green), COUNTIF(A1:A4 = Green AND B1:B4 = Red), COUNTIF(A1:A4 = Red AND B1:B4 = Green) and COUNTIF(A1:A4 = Red AND B1:B4 = Red)
Any ideas of how to do this with VBA (or even without)
Firstly, excuse the difference in spelling for those in America (I am Australian)
So I've searched the net and found Count Cell Colour formulas, but I'm trying to find a way to count cells dependant on other counted cells.
For example (I don't know how to format in here so the words are the highlighted cells in excel)
1 | 2 | 3 | 4 | |
A | Green | Green | Red | Red |
B | Green | Red | Green | Red |
<tbody>
</tbody>
I want to do a COUNTIF(A1:A4 = Green AND B1:B4 = Green), COUNTIF(A1:A4 = Green AND B1:B4 = Red), COUNTIF(A1:A4 = Red AND B1:B4 = Green) and COUNTIF(A1:A4 = Red AND B1:B4 = Red)
Any ideas of how to do this with VBA (or even without)