Select the cells and press Ctrl + Shift + # (Ctrl + Shift + 3 on a US keyboard). Excel applies the d-mmm-yy date format, so the value 45435 displays as 23-May-24. This is the Windows shortcut; check it on a Mac before relying on it.
For any other layout, press Ctrl + 1, choose Number → Date and pick a type, or go to Custom and type a code such as dd-mm-yyyy or dd mmm yyyy. Short Date and Long Date in the Home → Number Format list follow the Windows regional settings, so they can look different on someone else’s PC.
The shortcut changes only how a number is shown; it does not turn text into dates. If your imported dates are text (they usually sit left-aligned), select the column, go to Data → Text to Columns, click Next twice, choose Date with the order your data uses, such as DMY or MDY, and click Finish. Then apply the format.
If you see ######## after applying the format, either the column is too narrow (double-click the right edge of the column header to widen it) or the number is too large to be a date, such as 20240523 stored as yyyymmdd. Convert that kind of value with =DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2)) and format the result.
Latest Video Tutorial – 10 Excel Keyboard Shortcuts (Probably YOU are NOT Using)
Many times, when you extract data that has dates as values from any tool, ERP or software, those values could be in a numeric or non-uniform date format.
To show those values in a standard date format, you can apply the date format with a quick keyboard shortcut. It works on real date values (numbers), and it shows them in the day-month-year format (like 05-Oct-22).
Keyboard Shortcut to Apply Date Format in Excel
Ctrl + Shift + #
Steps to Apply Date Format Using Keyboard Shortcut
- First, select the cells or the column that have dates as values.

- After that, simply press the “Ctrl + Shift + #” keys together, and your date values will be shown in a uniform date format.

On a Mac, the shortcut is the same: Control + Shift + #. On most keyboards, # is on the 3 key, so you are pressing Ctrl + Shift + 3.
When the Shortcut Doesn’t Work
The shortcut only changes the format, not the value. So, if the dates are stored as text (they are usually aligned to the left and the shortcut does nothing), you need to convert them into real dates first. Use the DATEVALUE function and then apply the date format to the result:
=DATEVALUE(A1)
You can also convert a whole column in one go with Data ➜ Text to Columns: click Next twice, select Date in the third step, choose the order of the date (like DMY or MDY), and click Finish.
Other Ways to Apply a Date Format
- Number Format drop-down: go to Home ➜ Number and choose Short Date or Long Date from the drop-down. These follow the date settings of your computer.
- Format Cells: press Ctrl + 1, go to Number ➜ Date, or choose Custom and type your own format, like dd-mm-yyyy or mmm d, yyyy.
- TEXT function: to show a date in a specific format inside a text, use the TEXT function (formula below this list). The result is text, not a date.
=TEXT(A1,"dd-mmm-yyyy")
Frequently Asked Questions
What format does Ctrl + Shift + # apply?
It applies the date format with the day, month and year, like 05-Oct-22 (d-mmm-yy).
Why does my date show as a number like 44839?
Excel stores dates as numbers, and the cell has the General or Number format. Select it and press Ctrl + Shift + # to show it as a date.
Is there a shortcut to insert today’s date?
Yes. Press Ctrl + ; (semicolon) to enter today’s date as a fixed value in the active cell.
Is there a way to change which date format Excel chooses as the default? The other keyboard shortcuts to apply formatting seem to choose the top result from the applicable category of the Format Cells window (e.g. ctrl + shift + ! formats as number with 2 decimal points, ctrl + shift + $ formats as currency with 2 decimals, ctrl + shift + @ formats as H:MM:SS AM/PM, but ctrl + shift + # doesn’t format as the top date 3/13/2012)