2024-07-04 in cell A1. Which formula correctly returns the weekday number where Sunday = 1 and Saturday = 7?The WEEKDAY function returns a number representing the day of the week for a date. Using 1 as the second argument means Sunday is 1 and Saturday is 7. The default is also 1 if omitted.
2024-07-01, which formula returns the date 10 working days later, excluding weekends?The WORKDAY function adds working days to a date, skipping weekends. Option C correctly adds 10 working days. Option C excludes a holiday but is not needed here. Option C adds calendar days, not working days. Option C uses a custom weekend pattern but is more complex.
The TEXT function with format "dddd" converts a date to its full weekday name. WEEKDAY returns a number, WORKDAY returns a date offset by working days, and DAY returns the day of the month.
WORKDAY with the holidays argument skips weekends and the specified holidays. Option A skips weekends but not holidays. Option A uses WORKDAY.INTL with a weekend pattern but is unnecessary here. Option A just adds one day without skipping.
NETWORKDAYS counts weekdays between two dates, excluding weekends automatically. Option B is invalid because WEEKDAY cannot be applied directly to arrays like that. Option B is an approximation that fails for partial weeks. Option B uses SUMPRODUCT with ROW and WEEKDAY but is complex and error-prone.