Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Convert General to Date in Excel: 4 Easy Methods

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To convert a cell from General to Date in Excel, select the cell or range, go to the Home tab, click the Number Format dropdown menu (which usually says "General"), and select Short Date or Long Date. This process works because Excel stores dates as sequential serial numbers; for example, January 1, 1900, is serial number 1, and each day after that increases the number by one. Changing the format simply tells Excel to display that number as a calendar date rather than a raw integer.

What You'll Need

  • A computer with Microsoft Excel installed (works across Windows and macOS versions).
  • A dataset where dates are currently appearing as numbers (e.g., 45292) or as plain text that isn't being recognized as a date.
  • Basic familiarity with the Excel Ribbon interface.

Step-by-Step

Method 1: Using the Home Ribbon (Fastest)

This method is best when your data is already stored as an Excel serial number but is simply formatted as "General." Note that menu labels may differ slightly depending on your version of Excel or region.

  1. Open your Excel workbook and highlight the specific cells, columns, or rows containing the values you wish to convert.
  2. Navigate to the Home tab on the top Ribbon.
  3. Locate the Number group in the center of the ribbon.
  4. Click the dropdown arrow next to the format box (which likely displays "General").
  5. Select Short Date for a format like MM/DD/YYYY or Long Date for a full written date like Tuesday, January 1, 2024.
  6. Press Enter or click any empty cell to apply the change.

Method 2: Using the Format Cells Dialog (Customization)

Use this method if you need a specific date format (such as YYYY-MM-DD) that is not available in the quick dropdown menu.

  1. Select the cells you want to format.
  2. Right-click on the selected area and choose Format Cells... from the context menu. Alternatively, press Ctrl + 1 (Windows) or Cmd + 1 (Mac).
  3. In the Number tab, look at the Category list on the left side.
  4. Click on Date.
  5. In the Type list on the right, scroll through the available locales and formats to find the exact layout you prefer.
  6. If the desired format is still not listed, click Custom at the bottom of the Category list.
  7. In the Type field, manually enter a code: yyyy-mm-dd for ISO standard, dd-mmm-yy for a shortened month name, or mmmm d, yyyy for the full month name.
  8. Click OK to apply.

Method 3: Using Text to Columns (For Dates Stored as Text)

Sometimes, dates are imported from other software as "Text" rather than "General." In these cases, simply changing the format to Date often does nothing because Excel doesn't recognize the text string as a number. The Text to Columns tool forces Excel to re-evaluate the data.

  1. Select the column containing the problematic dates. Ensure only one column is selected at a time.
  2. Go to the Data tab on the Ribbon.
  3. Click Text to Columns in the Data Tools group.
  4. In the wizard that appears, leave Delimited selected and click Next.
  5. Uncheck all delimiters (like Tab or Comma) and click Next again.
  6. In the Column data format section, select the radio button for Date.
  7. Choose the format that matches how the data is currently written (e.g., if the text looks like 31/12/2023, choose DMY; if it looks like 12/31/2023, choose MDY).
  8. Click Finish. Excel will convert the text strings into actual date serial numbers and apply the default date format.

Method 4: Using the DATEVALUE Function

If you have a date trapped in a text string within a larger sentence or a complex cell, you can use a formula to extract and convert it.

  1. Click in an empty cell next to your data.
  2. Type =DATEVALUE("cell_reference"), replacing cell_reference with the cell containing the text date (e.g., =DATEVALUE(A2)).
  3. Press Enter. You will likely see a five-digit number (the serial number).
  4. Apply the Short Date format to this new cell using the Home tab as described in Method 1.
  5. Drag the fill handle down to apply the formula to the rest of your list.

Common Mistakes

  • Confusing Text with General: The most common error is trying to use the Number Format dropdown on cells that are formatted as "Text." If a cell is truly Text, changing the format to Date will not change the appearance of the cell until you double-click into the cell and press Enter.
  • Incorrect Date Order: When using Text to Columns, users often select the format they want rather than the format the data is currently in. If your data is Day-Month-Year, you must select DMY for Excel to parse it correctly.
  • Overlooking Hidden Spaces: Sometimes dates imported from web databases have leading or trailing spaces. These spaces make Excel treat the date as text, rendering the "General to Date" conversion useless until the spaces are removed using the TRIM function.
  • Using the Wrong Locale: Selecting a date format from a different country (e.g., choosing a US format for UK data) can lead to dates being swapped (January 4th becoming April 1st).

Tips

  • Keyboard Shortcut: To quickly apply the default date format to a selection, press Ctrl + Shift + # (the hash key). This is a fast way to toggle the short date format without using the mouse.
  • Check the Formula Bar: If you aren't sure if a cell is a "real" date or just text that looks like a date, look at the Formula Bar. If it's a real date, Excel will often show it in a standardized format regardless of how the cell is formatted.
  • Consistency is Key: Before converting a large dataset, ensure all dates follow the same pattern. If half your list is MM/DD/YYYY and the other half is DD/MM/YYYY, no single conversion method will work for the whole column without causing errors.
  • Use Tables: Converting your data range into an official Excel Table (Ctrl + T) ensures that any new dates added to the bottom of the list automatically inherit the Date formatting of the cells above them.

Troubleshooting

If your data still refuses to convert to a date, try these steps in order:

  1. Force a Refresh: Select the cells, go to the Home tab, change the format to General, then change it back to Short Date. If that fails, double-click a cell and press Enter; if the date suddenly formats correctly, the issue is that Excel hasn't "triggered" the format update.
  2. Clean the Data: Use the =TRIM(A1) function in a helper column to remove invisible spaces that might be forcing the cell to remain as Text.
  3. Value Multiplication: A clever trick to force text-numbers into real numbers is to multiply them by 1. In an empty cell, type 1, copy that cell, select your dates, right-click, choose Paste Special, select Multiply, and click OK. Then apply the Date format.
  4. Check for Apostrophes: Look at the formula bar for a single quote (') at the beginning of the date. This is a hidden character that tells Excel to treat the cell as text. You must remove these using Find and Replace (though this is difficult for leading apostrophes) or the Text to Columns method.

Frequently Asked Questions

Why does my date look like a five-digit number?

Excel stores dates as numbers counting from January 1, 1900. A number like 45292 is simply the number of days elapsed since that start date. Changing the cell format to "Date" tells Excel to display that number as a calendar date.

Can I convert a date that is mixed with text?

Not using the format menu alone. You will need to use a combination of functions like LEFT, RIGHT, or MID to extract the date portion first, and then wrap that formula in a DATEVALUE function to convert it to a real date.

Why did my dates change to hashtags (#####)?

This usually doesn't mean the conversion failed. It simply means the column is too narrow to display the full date string. Hover your mouse over the right border of the column header and double-click to auto-fit the width.

Does this work for dates in different languages?

Yes, but you must ensure your system's regional settings or the "Locale" setting in the Format Cells dialog matches the language of the date. If you are converting French dates on an English system, you must select "French" from the Locale dropdown in the Date category.

Is there a way to convert dates in bulk across multiple sheets?

You can group your sheets by holding Ctrl and clicking the sheet tabs at the bottom. Once grouped, any formatting change you make to a cell on the active sheet will be applied to the exact same cell on all other grouped sheets.