The Excel WEEKDAY FunctionSearch this site:
Custom Search
If supplied with a date, the Excel WEEKDAY function returns an integer representing the day of the week for the supplied date. The format of the function is: WEEKDAY( serial_number, [return_type] )
where the arguments are as follows:
ExampleOne use for the WEEKDAY function is if you have a large number of events and you want to analyse the peak weekdays. The spreadsheet below shows part of a spreadsheet in which the days of specific events are stored in column A. The function has then been inserted in every cell of column B, to show the weekday of each date in column A. The function format is 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 Tuesday. |
|
|||||||||||||||||||
|
|
||||||||||||||||||||
Copyright © 2008-2010 ExcelFunctions.net |
