|
|
Excel WEEKDAY Function
Basic DescriptionThe Excel Weekday function returns an integer representing the day of the week that a supplied date falls on. The syntax of the function is :
WEEKDAY( serial_number, [return_type] )
where the function arguments are as follows:
Excel Weekday Function ExampleOne use for the Weekday function is if want to analyse the peak weekdays for a large number of events. The spreadsheet below shows part of a spreadsheet in which the days of specific events are stored in column A (note that these dates are displayed in the UK date format, dd/mm/yyyy). The Weekday function has been inserted in every cell of column B, to show the weekday of each date in column A. The formulas are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.
Note that the column showing the weekdays in the above pivot table has been formatted to show the weekday names (see tip). The pivot table enables you to clearly see that the peak weekday for the data is Friday. Further information of the Excel Weekday function can be found on the Microsoft Office website. Weekday Function ErrorsIf you get an error from the Excel Weekday Function, this is likely to be one of the following: Common Error
|
||||||||||||||||||||||||||||||||||||
|
|
Copyright © 2008-2011 ExcelFunctions.net |