Hi,

ie. if I have 2 cell and I want to count how many night in a specific month. You can see in the highlight area in attached image
What is the formula, I should put in

fomular.jpg