Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel FORMULATEXT function
  • Last row number in range
  • How to create dynamic named range with OFFSET in Excel
  • Perform case-sensitive Lookup in Excel
  • Excel Advanced Lookup using Index and Match Functions

Data Analysis Examples

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • How To Perform and Interpret Regression Analysis in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • How to Create One and Two Variable Data Tables in Excel
  • Add Outline to Data in Excel

Data Validation Examples

  • Excel Data validation only dates between
  • Excel Data validation unique values only
  • Excel Data validation don’t exceed total
  • Excel Data validation number multiple 100
  • Excel Data validation no punctuation

Get day name from date in Excel

by

If you need to get the day name (i.e. Monday, Tuesday, etc.) from a date or to convert the date into a day name, there are several options depending on your needs.

Formula

TEXT(B4,"dddd")

Explanation

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.

Worked Example:   Convert date to month and year in Excel

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:

=TEXT(B4,"ddd")

The TEXT function converts values to text using the number format that you provide. Note that date is lost in the conversion, only the text for the day name remains.

Worked Example:   Get days, hours, and minutes between dates in Excel

A more flexible way to get a day name from a date

If you don’t want to use a helper table, you can also map weekday number to a month name directly in the CHOOSE function like so:

=CHOOSE(WEEKDAY(B4),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

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.

Worked Example:   Convert Numbers to Text in Excel

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.)

Post navigation

Previous Post:

Get first day of previous month in Excel

Next Post:

Get last working day in month in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • LEN, LENB functions: Description, Usage, Syntax, Examples and Explanation
  • How to check if cell contains some words but not others in Excel
  • How to find and replace multiple values at same time in Excel
  • Remove line breaks in a cell in Excel
  • How to count specific words in a cell in Excel
  • Calculate expiration date in Excel
  • Get project end date in Excel
  • List holidays between two dates in Excel
  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Add days exclude certain days of week in Excel
  • Calculate payment for a loan in Excel
  • Calculate interest rate for loan in Excel
  • How to calculate Net Present Value (NPV) in Excel
  • YIELDMAT function: Description, Usage, Syntax, Examples and Explanation
  • DOLLARDE function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles