Thank you for your help!

I used another formula (similar to yours) and avoided the "*" and the "+".

I have another question:

If I want only the data from January to April and from November to December, how do I do this? How do I use the OR operator?

Thank you!