Note: In order to use the spreadsheet examples, you need to download Business Functions | ||||||||
RoundWeekDay (TheDate, DayInWeek, [RoundMethod]) | ||||||||
Round to nearest Weekday | ||||||||
This function rounds to the date nearest date whose day in the week is equal to DayInWeek. For example, the nearest Thursday to 9th April 2005 is 7th April 2005. The RoundMethod allows for different types of rounding, such as cap, floor etc | ||||||||
ExampleRoundWeekDay.xls |