bobgrand
Active Member
- Joined
- Apr 14, 2008
- Messages
- 252
- Office Version
- 365
- Platform
- Windows
Hello all,
I am confused with how the formula below works. What part of this formula makes the date know it's 2019?
The result I am getting in B1 is Fri, 01/04/19
Cell E3 - 1ST FRI EVERY JAN
Cell F3 - =IF(E3="","",(LEFT(E3)*7&RIGHT(E3,3)&$C$2)+1-WEEKDAY((LEFT(E3)*7&RIGHT(E3,3)&$C$2)-MATCH(MID(E3,5,2),{"mo","tu","we","th","fr","sa","su"},0)))
Any help would be greatly appreciated
Thanks
Bob
I am confused with how the formula below works. What part of this formula makes the date know it's 2019?
The result I am getting in B1 is Fri, 01/04/19
Cell E3 - 1ST FRI EVERY JAN
Cell F3 - =IF(E3="","",(LEFT(E3)*7&RIGHT(E3,3)&$C$2)+1-WEEKDAY((LEFT(E3)*7&RIGHT(E3,3)&$C$2)-MATCH(MID(E3,5,2),{"mo","tu","we","th","fr","sa","su"},0)))
Any help would be greatly appreciated
Thanks
Bob
Last edited: