How to get the name of a day from a date in Excel. This returns, for example, "Tuesday" for the date October 4, 2016. I'll also show you how to use custom names for the days.
=TEXT(A1,"dddd")
Result:
=TEXT(A1,"ddd")
Result:
With this method, you can specify the names that you want to use for each day of the week.
=CHOOSE(WEEKDAY(A1),"Sunday Funday", "Sad Monday", "Boring Tuesday", "Hump-Day", "Thursday Drink Special", "Friday Finally", "Saturday YEAH")
Result:
Here, we use the WEEKDAY function to return a number from 1 to 7; that's all that function does and, by default, 1 is Sunday and 7 is Saturday. To change which day of the week starts with 1, read our tutorial on the WEEKDAY function.
Once we know what the number is for the day of the week, we put that inside the CHOOSE function for the first argument.
The following arguments in the CHOOSE function are the values that you want to output for the days of the week. Put them in order starting with the value that you want to be output when the WEEKDAY function returns 1.
You can output any value using this method; just make sure to put double quotation marks around it if it's text.
This is a nifty little trick to get the days of the week from dates and it's really easy to use.
Make sure to download the sample file attached to this tutorial to work with these examples in Excel.