Data Import & Export

How to Import CSV Time and Decimal Values Correctly in Excel

Huda QurayshiHuda Qurayshi Nov 11, 2026 869 views

Question details

The user needs to import a CSV file into Excel without the software automatically altering time formats or adding incorrect decimal places.

How to Import CSV Time and Decimal Values Correctly in Excel
Product
Microsoft Excel
Device & OS
Mac and Windows
Scenario
Importing a CSV file containing specific time data and decimal numbers for data analysis or reporting.
Observed behavior
Excel automatically interprets the CSV data using incorrect units, locales, or number formats, such as converting minutes to seconds or adding extra decimal places to numbers ending in zero.
Before you start

Ensure you know the original delimiter used in your CSV file (such as a comma or semicolon) and check your system's regional settings to match the file's locale.

Solution 1Recommended

Use the Text Import Wizard to Define Column Formats

Importing the CSV through the Text Import Wizard prevents Excel from automatically guessing and changing your data formats.

By default, double-clicking a CSV file allows Excel to automatically parse the data, which often leads to formatting errors. Using the Import tool gives you manual control over how each column is interpreted.

1
Open the Import Tool

Open Excel, go to the 'File' menu, and select 'Import'. Choose 'CSV file' and locate your document.

2
Select Delimiter

In the Text Import Wizard, select 'Delimited' and click 'Next'. Choose the correct delimiter (usually a comma) that your CSV uses.

3
Set Column Data Format

Click on the columns containing time or specific decimal data in the preview window. Change the 'Column data format' to 'Text' so Excel imports the exact values without altering them, then click 'Finish'.

Use the Text Import Wizard to Define Column Formats
Save as XLSX: After importing, save the file as an Excel Workbook (.xlsx) to preserve your formatting and prevent the CSV from reverting to default text upon closing.
Seamless CSV Import

Import CSV Files Flawlessly with WPS Spreadsheet

WPS Spreadsheet offers a highly intuitive Text Import Wizard that gives you full control over delimiters, text qualifiers, and column data types, ensuring your time and decimal values are imported exactly as intended.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open the Spreadsheet application.
  2. 2. Import Data: Go to the 'Data' tab and click on 'Import Data', then select 'Import Data' again to open your CSV file.
  3. 3. Configure Import Settings: Follow the prompt to select your delimiter and explicitly set your time and decimal columns to 'Text' format before completing the import.
100% compatible with Microsoft Excel (.xlsx, .csv)Intuitive Text Import Wizard to prevent data corruptionFree, lightweight, and available on Windows, Mac, and Linux
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel change my CSV time formats automatically?

Excel tries to be helpful by automatically detecting data types based on your system's regional settings. If the CSV's format differs from your system's default, Excel may misinterpret the data, converting minutes to seconds or changing date formats.

How do I stop Excel from removing leading zeros in my CSV?

To keep leading zeros, you must import the CSV using the Text Import Wizard or Get & Transform (Power Query) and set the specific column's data format to 'Text' before the data is loaded into the sheet.

Does changing the cell format change the actual data in Excel?

No, changing the cell format (like reducing decimal places via the ribbon) only changes how the data is displayed. The underlying stored value remains the same unless you use a function like ROUND.