D6 contains a date - April 6, 2014 - this date will automatically change to a new day in 2015 and so on for every new year (it is a floating holiday date, Good Friday).
G6 contains a number - 75.
I want to have the number in G6 replicated in A3 if the date in D6 is greater than or equal to April 1 and less than or equal to April 15.
This is the formula I have which works for 2014 but will not work when the year changes to 2015 and so on:
=IF(AND(D6>=DATE(2014,4,1),D6<=DATE(2014,4,15)),G6,0)
How can I make the year in the formula a variable so that it will look between April 1 and April 15 for any year?
Thank you.
Bookmarks