I will explain what the formula does and from there you should be able to
take up...
The IF condition in the formula If( a condition, value to return if
condition is true, value to return if condition is false)
Month is a function to return month from a date cell
So here we are comparing the month of B2 with that of D10. If both are same
we are returning the value as 1 which I think is what you require.
If the month is not same then we are taking the minimum of 1 and
d11+d12+d13. I am not sure what this calculation is . If you look at your
previous replies and even your original query you have not mentioned the
condition at all. I got this D11+D12-D13 from your other post...
=IF(Month(B2)=Month(D10),1,MIN(1,D11+D12-D13))
If this post helps click Yes