Is there a way to count the number of different colored cells?

M

MCM

I have uniqure colored rows in my excell spreadsheet. Is there a formula to
count the total number of green rows, red rows, blue rows, etc?
 
Top