If you need to get the day name (i.e. Monday, Tuesday, etc.) from a date, there are several options depending on your needs.
Do you just want to display the day name?
If you only want to display a day name, you don't need a formula – you can use a custom number format. Select the date, then go to Format cells (Ctrl + 1 or Cmd + 1) > Custom, and enter one of these custom formats:
"ddd"// "Wed""dddd"// "Wednesday"
Excel will display only the day name, but it will leave the date value intact.
Do you want to convert the date into a day name?
If you want to convert the date value to a text value, you can use the TEXT function with a custom number format like "ddd". The formula looks like this:
In this case, enter the weekday names you want to return (abbreviated or not) as values in CHOOSE, after the first argument. WEEKDAY will extract a weekday number, and CHOOSE will use this number to return the nth value in the list. This works because WEEKDAY returns a number 1-7 that corresponds to a given day of the week. With default settings, Sunday = 1 and Saturday = 7. See WEEKDAY for more info.
CHOOSE is more work to set up, but it is also more flexible, since it allows you to map a date to any values you want (i.e. you can use values that are custom, abbreviated, not abbreviated, different language, etc.)
If you need to extract the day from a date, you can use the DAY function. In the generic form of the formula above, the date must be in a form that Excel recognizes as a valid date. Here's how the formula works: The DAY function takes just one...
If you need to get the month name (i.e. January, February, March, etc.) from a date, you have several options depending on your needs. Do you just want to display the month name? If you only want to display a month name, you don't need a formula –...
The Excel WEEKDAY function takes a date and returns a number between 1-7 representing the day of week. By default, WEEKDAY returns 1 for Sunday and 7 for Saturday. You can use the WEEKDAY function inside other formulas to check the day of week...
The Excel CHOOSE function returns a value from a list using a given position or index. For example, CHOOSE(2,"red","blue","green") returns "blue", since blue is the 2nd value listed after the index number. The values provided to CHOOSE can...
Excel Formula Training
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.