The WEEKNUM function in Excel returns the week number based on a specific model and date. The week number indicates which week of the year a given date falls into.