Excel Tips: Calculate the weekday from a date

You can display the weekday for dates stored in Excel.  This is especially useful for checking if due dates fall during the working week.  To do this you need to use the weekday function and custom formatting features of Excel.  The screenshot below are from Excel 2010, but this work in earlier versions too.

  • Ensure the date on your spreadsheet is formatted as a date
  • Insert the weekday function
  • The weekday function has two arguments – the date (or cell where the date is and a return type.  The return type is optional and for this to work correctly should be left blank. 
  • Format the cell using custom formatting – to do this you will need to open the format cells dialog box, Ctrl+1 is a keyboard shortcut to do this which works in all Excel versions.

On the Number tab, choose Custom and in the Type box enter ddd  to display the week day in its three letter version or dddd to display the week day in full.  

Excel 2010 Tips Autofill and Dates

Autofill is a feature which will copy content down a column or accrss a row.  However it also creates sequences, using the same technique, with things that it recognises as being part of a sequence.  One such is dates.

Enter the starting date of your sequence in Excel and ensure it is formatted as a date

Select the cell containing your date and drag down from the autofill handle (the autofill handle is the little black square in the bottom right hand corner of the active cell.

A tooltip will appear showing you the date that you have reached as you drag the autofill handle down or across you spreadsheet.

This method works with any date format 

and even with multiple columns

As well as full dates and days of the week, autofill will complete a sequence of months and complete a sequence of the three letter names for days of the week or months.  Simply enter the day or month you wish to start on and autofill will do the rest.