Converting a date into a day name (like Monday) or a number (1-7) is a common task in Excel. You can achieve this easily using built-in functions.
Để AI làm thaySelect a cell
Click on the cell where you want the day of the week to appear.
Enter the formula
Type =TEXT(A1, "dddd") to get the full day name, or =WEEKDAY(A1) to get a number representing the day.
Press Enter
Press the Enter key on your keyboard to apply the formula and see the result.
=TEXT(A1, "dddd")TEXT returns the name of the day (e.g., Monday), while WEEKDAY returns a numeric value (1-7).