I would use an array formula. You can have as many criteria condition
as you want, but the last range (in this case e1:e100) has to be ful
of numbers. Then you click into the formula to edit it and hol
control and shift and press enter to make it an array formula. Th
formula will look for cells in range c1:c100 that have "690" then loo
for those cells in range d1:d100 that have "green" and then count th
number of occurances in e1:e100. (If your spreadsheet already has
column of numbers, such as a count, then use that instead of e1:e100).
Important that all the ranges are the same.
=count(if(c1:c100="690",if(d1:d100,"green",e1:e100)))
After you click into the cell and hold shift and control and pres
enter the formula will be:
{=count(if(c1:c100="690",if(d1:d100,"green",e1:e100)))