'Worksheet1'!A2
contains a date.
If the month and day of A2
are between 0 and 7 days after today's month and day, I want B2
to equal A2
. Otherwise, B2
should equal "".
Example
In other words, ignoring the years, if the month and day of A2
are within 7 days of today, I want B2
to display A2
with the year being the same as the current year. Otherwise, I want B2
to display nothing.