Try for Friday:
=DATE(A2,1,1)+CHOOSE(WEEKDAY(DATE(A2,1,1)),5,4,3,2,1,0,6)
Rule for the list of CHOOSE function:
Sunday: starts with 0
Monday: starts with 1
...
Fri: starts with 5
Quang PT
So the logic is in the CHOOSE section
which ever day we want we should start the set from that day serial?
Nice magic of digits.
Thanks a lot.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks