Get previous Sunday
At a high level, this means we need to subtract some number of days from the given date. For example, if the given date is a Monday, we need to subtract 1 day. If the given date is a Tuesday, we need to subtract 2 days, and so on. Note: the formulas below use simple math to adjust the date. This works becauseExcel dates are large serial numbers. WEEKDAY solution TheWEEKDAY functionaccepts a date and returns a number between 1-7 representing the day of week....