Help: Return day of the week
Solved/Closed
fireburn
Posts
27
Registration date
Monday February 3, 2014
Status
Member
Last seen
June 23, 2014
-
Jun 4, 2014 at 06:51 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 23, 2014 at 11:54 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 23, 2014 at 11:54 AM
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Jun 5, 2014 at 11:38 AM
Jun 5, 2014 at 11:38 AM
Hi Fireburn,
No need for macro here.
Use the following formula in row 4 (paste in C4 and drag to the right):
=IF(OR(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=1,WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=7),"S",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=2,"M",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=4,"W",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=6,"F","T"))))
Best regards,
Trowa
Monday, Tuesday and Thursday are usually the days I'll respond. Bear this in mind when awaiting a reply.
No need for macro here.
Use the following formula in row 4 (paste in C4 and drag to the right):
=IF(OR(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=1,WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=7),"S",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=2,"M",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=4,"W",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=6,"F","T"))))
Best regards,
Trowa
Monday, Tuesday and Thursday are usually the days I'll respond. Bear this in mind when awaiting a reply.
Jun 6, 2014 at 10:34 AM
Thank you so much. You're always there to help.. I really appreciate it.
Have a good one.
Jun 20, 2014 at 02:34 AM
How can you make it display SUN MON TUE and so on instead of S M T W T F S.
Thanks.
Jun 23, 2014 at 10:44 AM
=IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=1,"SUN",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=2,"MON",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=3,"TUE",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=4,"WED",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=5,"THU",IF(WEEKDAY(DATE(YEAR($H$1),MONTH($H$1),C3))=6,"FRI","SAT"))))))
Best regards,
Trowa
Jun 23, 2014 at 10:54 AM
Jun 23, 2014 at 11:54 AM