Almost got it.
Jeff,
The formula does not work with more than one cell in it. When I remove all the cells, except for D8, it works fine. I tested by changing the contents from Sunny to Shade. If I add the next cell to be looked at D22, I get a #Ref! (Moving of deleting cells caused an invalid cell reference , or function is returning reference error).
The total should be 3.
Thanks
Don
Bookmarks