column addition question

D

D

I am a column that has the numbers in color, is it possible to add the
numbers together by color, i.e. all red,all blue? If so what would the
formula be.

Thanks
 
Top