To shorten a date in Excel, the fastest method is to select the cells, go to the Home tab, click the Number Format dropdown menu, and select Short Date. This instantly converts long-form dates (e.g., January 1, 2024) into a numerical format (e.g., 1/1/2024). Depending on your needs, you can also use Custom Formatting for specific abbreviations or the TEXT function to convert dates into shortened text strings.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- A dataset containing cells formatted as dates.
Step-by-Step
Depending on how "short" you want your dates to be, choose one of the following three methods. Note that menu labels may differ slightly depending on your version of Excel or regional settings.
Method 1: Using Preset Number Formats
This is the best method for a quick change to a standard numerical date.
- Highlight the cells or the entire column containing the dates you want to shorten.
- Click on the Home tab in the top ribbon.
- Locate the Number group in the center of the ribbon.
- Click the dropdown arrow next to the format box (which usually says "Date" or "General").
- Select Short Date from the list.
Method 2: Creating a Custom Date Format
Use this method if you want a specific shortened style, such as "Jan-24" or "01/24", which isn't available in the presets.
- Select the cells you wish to format.
- Right-click the selected cells and choose Format Cells... (or press
Ctrl + 1on Windows /Cmd + 1on Mac). - In the Number tab, select Custom from the Category list on the left.
- In the Type field, delete the existing text and type your desired code:
mm/dd/yyfor 01/01/24ddd, mmm dfor Mon, Jan 1mmm-yyfor Jan-24yy-mm-ddfor 24-01-01
- Click OK to apply the changes.
Method 3: Using the TEXT Function (For Text Conversion)
Use this method if you need the shortened date to exist as a text string in a new column, which is useful for combining dates with other text.
- Click into an empty cell next to your original date.
- Type the formula:
=TEXT(A1, "mm/dd/yy")(replaceA1with the cell reference of your date). - Press Enter.
- Click the bottom-right corner of the cell and drag it down to apply the formula to the rest of the column.
Common Mistakes
- Confusing Format with Value: A common mistake is thinking that changing the format deletes the original date. Excel stores dates as serial numbers; changing the format only changes how it looks, not the actual data.
- Applying Formats to Text: If your dates were imported as text (often indicated by a small green triangle in the corner), the "Short Date" format will not work. You must first convert the text to a date value using the "Text to Columns" tool or the DATEVALUE function.
- Over-shortening: Using
yyinstead ofyyyycan lead to ambiguity in historical data (e.g., is "22" 1922 or 2022?).
Tips
- Consistency: Use the
ISO 8601format (yyyy-mm-dd) if you are sharing the file internationally to avoid confusion between US (MDY) and UK/European (DMY) date styles. - Quick Access: Use the keyboard shortcut
Ctrl + Shift + #(on Windows) to quickly apply a date format (typicallydd-mmm-yy). - Dynamic Updates: If you use the TEXT function, remember that the result is text. You cannot use these cells in date-based calculations or pivot table date-grouping unless you convert them back to dates.
Troubleshooting
If your dates are not shortening as expected, try these steps in order:
- Check for "Text" Format: If the date doesn't change when you select "Short Date," the cell is likely formatted as Text. Select the cell, change the format to "General," then double-click the cell and press Enter to "force" Excel to recognize it as a date.
- Check for Leading Spaces: Sometimes imported data has hidden spaces before the date. Use the
=TRIM()function to remove extra spaces before applying the date format. - Verify Regional Settings: If
mm/dd/yyisn't working, check your computer's regional settings in the Control Panel (Windows) or System Settings (Mac). Excel follows the operating system's default date separators. - Clear Formatting: If the cell is behaving erratically, go to Home > Clear > Clear Formats and try the formatting process again from scratch.
Frequently Asked Questions
Why do my dates turn into numbers like 45291?
Excel stores dates as the number of days elapsed since January 1, 1900. If you see a five-digit number, it means the cell format has been set to "General" or "Number." Simply change the format back to "Short Date" to see the date again.
Can I shorten the date without changing the actual cell value?
Yes. Using the Format Cells menu (Method 2) only changes the visual representation. The underlying value remains a full date, allowing you to still perform calculations or sort by date.
How do I shorten a date to only show the month and year?
Use a Custom Format. Right-click the cell, choose Format Cells > Custom, and type mmm-yy (for Jan-24) or mmmm yyyy (for January 2024).
Will shortening the date affect my Pivot Tables?
If you use Method 1 or 2 (formatting), your Pivot Tables will still recognize the data as dates and allow you to group by month, quarter, or year. If you use Method 3 (TEXT function), the data becomes text and you will lose the ability to group by date automatically.
Is there a way to shorten dates across multiple sheets at once?
Yes. Right-click the sheet tabs at the bottom of your window and select Group (or hold Ctrl while clicking the tabs). Any formatting changes you make to a selected range on the active sheet will be applied to the same range on all grouped sheets.