To return the next specific day of week (i.e. the next Wednesday, or Friday, or Monday) with a given start date, you can use a formula based on the WEEKDAY function. In the example shown, the formula in D6 is:
Where B6 contains the date Friday, January 16, 2015, and 2 represents Monday, the "dow". The result is Monday, January 9, 2015.
To get a different day of week, use a different value for "dow" in the formula. With default settings, the WEEKDAY function uses a scheme where Sunday =1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, and Saturday=7.
In Excel, the concept of "weekday" or "day of week" is based on the idea that each day of of the week has a specific number. With default settings, the WEEKDAY function treats Sunday as the first day of the week (1), and Saturday as the last day (7). When given a valid date, the WEEKDAY function will return a number between 1 and 7.
To find the next day of week, this formula first rolls the date forward by 7 days, then steps back to the correct date by subtracting the result of a calculation that uses the WEEKDAY function. In the example shown the formulas in row 6 are as follows:
=B6+7-WEEKDAY(B6+7-7)// C6, get next Saturday=B6+7-WEEKDAY(B6+7-2)// D6, get next Monday
In the first formula (C6), the number 7 (at the end) represents Saturday. In the second formula (D6), the number is 2, for Monday.
Imagine you have any random date and want find the Monday of the week in which the date appears. You can see you will need to "roll back" a specific number of days, depending on what day of the week the given date is. If the date is a Wednesday, you...
The WEEKDAY function returns a number, 1-7, that corresponds to particular days of the week. By default, WEEKDAY assumes a Sunday-based week, and assigns 1 to Sunday, 2 to Monday, and so on, with 7 assigned to Saturday. In this case, we only want to...
Formulas that use the concept of "day of week" are based on the idea that each day of of the week has a specific number. By default, Excel assigns 1 to Sunday and 7 to Saturday. In the example formula, B6 is the date 1/16/2015, and the formula in C6...
The Excel WEEKDAY function takes a date and returns a number between 1-7 representing the day of week. By default, WEEKDAY returns 1 for Sunday and 7 for Saturday. You can use the WEEKDAY function inside other formulas to check the day of week...
Excel Formula Training
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.