excel get calendar day of week from date code example Example: excel find start of week =A2-MOD(A2-1,7)