John Smucker
New Member
- Joined
- Jul 22, 2022
- Messages
- 34
- Office Version
- 365
- 2016
- Platform
- Windows
I have a list of dates from 01/01/2022 through 12/31/2022 This gives me 365 dates
I dragged it down another row to count the leap year, now for the year 2022 01/01/2023 appears and i want to conditionally format this list so that any dates from the next years would not show.
I tried this formula =YEAR(B368)<>YEAR(B3) and formatted the number to custom>;;; to take away the value and it took away all my dates..
Can someone explain why this isn't working
Cell B3 is the first date in the list
Cell B368 is the last date in the list
I dragged it down another row to count the leap year, now for the year 2022 01/01/2023 appears and i want to conditionally format this list so that any dates from the next years would not show.
I tried this formula =YEAR(B368)<>YEAR(B3) and formatted the number to custom>;;; to take away the value and it took away all my dates..
Can someone explain why this isn't working
Cell B3 is the first date in the list
Cell B368 is the last date in the list