Blog Post

Microsoft 365 Insider Blog
3 MIN READ

Control data conversions in Excel for Windows and Mac

Linda_C's avatar
Linda_C
Icon for Microsoft rankMicrosoft
Aug 25, 2024

(Originally published on October 19, 2023 by Chirag Fifadra)

 

Hi, Microsoft 365 Insiders! My name is Chirag Fifadra, and I’m a Product Manager on the Excel team. I'm thrilled to announce that, based on your feedback, we've improved the Automatic Data Conversion settings we made available last year, and are now making them broadly available in both Excel for Windows and Excel for Mac.

 

Automatic Data Conversion in Excel for Windows and Mac

 

What did we change?

Last year's blog post explains how the initial version of the feature worked. Based on your feedback, we have:

  • Made the feature easier to find
  • Added more format support
  • Made the feature available in Excel for Mac

 

How it works

We wanted to address customers' frustration with Excel automatically converting data to specific formats. So, we have now given you the ability to change Excel's default behavior and disable specific types of automatic data conversions as needed.

 

To do so:

  • In Excel for Windows, select File > Options > Data > Automatic Data Conversion, and then choose the conversion(s) that you’d like to disable.

     

    Excel Options dialog box on Windows with Automatic Data Conversion section selected

     

  • In Excel for Mac, select Excel > Preferences > Edit > Automatic Data Conversion, and then choose the conversion(s) that you’d like to disable.

 

Tips and tricks

  • You can enable or disable the following options:
    • Remove leading zeros from numerical text and convert to a number.
    • Truncate numerical data to 15 digits of precision and convert to a number that may be displayed in scientific notation, if needed.
    • Convert numerical data surrounding the letter “E” to a number displayed in scientific notation.
    • Convert a continuous string of letters and numbers to a date.

       

  • If you select the When loading a .csv file or similar file, notify me of any automatic number conversions check box, Excel will display a warning message when it detects that an optional automatic data conversion is enabled and about to occur when opening a .csv or .txt file. This message gives you the opportunity to open the file once without converting the data.

 

Scenarios to try

Based on the settings you chose above, try some or all of the scenarios below to test the increased control over data conversions.

  • Type directly into a cell.
  • Copy and paste from external sources (e.g., a web page).
  • Open a .csv or .txt file.
  • Find and replace operations.
  • Select Data > Text to Columns, and then use the Convert Text to Columns Wizard.

 

NOTE: Since the feature works by saving the entered data as text, you might see a green triangle with a Number stored as text error. This is expected. You can dismiss the error by selecting Ignore error in the context menu. Also, you may not be able to use that data in mathematical operations.

 

Known issues

The feature does not support disabling these conversions during macro execution.

 

Availability

This feature is available to all users running:

  • Windows: Version 2309 (Build 16808.10000) or later
  • Mac: Version 16.77 (Build 23091003) or later

 

Feedback

We want to hear from you! Please go to Help > Feedback in Excel to provide your thoughts about this feature.

 


Learn about the Microsoft 365 Insider program and sign up for the Microsoft 365 Insider newsletter to get the latest information about Insider features in your inbox once a month!

Updated Aug 25, 2024
Version 1.0

13 Comments

  • Lies. Doesn't work still a year later. If we want "Scientific Notation" we will pick "Scientific Notation" instead of Text/Number. STOP DOING THIS!

  • CADJockey's avatar
    CADJockey
    Copper Contributor

    Even though I have all the automatic data conversion settings turned off, Excel is STILL CONVERTING!!!!  The unwanted data conversion is costing me and all of the team members in my company a lot of money in wasted time manually fixing the unwanted conversions.  I cannot just apply a formula in another cell to resolve these problems, and it must be done manually.  It takes a tremendous amount of time to fix the data.  And clearly many other users in the world are having the same problem.  This needs to be a priority for Microsoft to fix.  How can we get Microsoft to fix this problem ASAP?

    • ML_'s avatar
      ML_
      Copper Contributor

      Hi CADJockey,

      Agreed, this is so ridiculous. The best way to avoid conversion is to NEVER open a file by clicking on it. Open a blank workbook, then select Data, Get Data, From Text/CSV. You'll get a popup to transform the data - just click Load, and the data should import without conversions. However, you'll probably find your data has been formatted into a Table now. If that is also unwanted, you can click any cell of the table and select Convert to Range from the Table Design menu. You can also select the whole worksheet and Clear the formatting to remove the green stripes... and now you should have a nice clean unadulterated version of the CSV data you were expecting, to which you can apply the transformations and formatting that you actually want. A nuisance for sure, but often less of a nuisance than manually undoing the conversions. 

      • CADJockey's avatar
        CADJockey
        Copper Contributor

        Right, BUT - there are cases like where other programs download data and dump it straight into Excel, and Excel automatically converts the data even when the converision settings are turned off.  This is the problem that I deal with all the time.  I don't have a chance/choice of sending the data to a text file first.

  • mmseng's avatar
    mmseng
    Copper Contributor

    As others have noted these settings simply do not work. Even after disabling them Excel still automatically converts various strings into dates when opening CSV files and loses data in the process. The auto-conversion notification setting also does nothing. Has anyone at Microsoft actually tested this functionality in the past 3 years?

    Chirag_Fifadra​ 

  • JakeTExcel's avatar
    JakeTExcel
    Copper Contributor

    The feature doesn't work at all.  Excel is still converting and corrupting CSV data even with these check boxes all disabled. 

  • diondotlogue's avatar
    diondotlogue
    Copper Contributor

    This is absurd. A feature that has been requested for years and they finally "address" the issue. THIS DOES NOT WORK.

    These settings are currently completely pointless. Absolute idiots behind these stupid decisions and complete lack of support around fixing it clearly.

  • These new options are great, but one of the great frustrations with Excel is all the automatic changes it does to data and how it's displayed and there are many more ways left that we have no control over. PLEASE let us decide if we want our data mangled or not. The answer to the question "When should Excel display a value in scientific notation" is "Never". Why would I ever want that? Why would I want my data destroyed? I'm begging you to add an option to disable this data corrupting feature.

  • Alexia's avatar
    Alexia
    Copper Contributor

    6 months later this feature still does not work as promised.

    Firstly the 'Notify me of automatic conversation' doesn't ever fired off.

    When opening a CSV file with phone numbers formatted as whole numbers, they all turn into E+11 numbers, despite holding the whole number (as seen in formula bar). Resizing the cells don't remove the scientific notation 

    Problem is, most users are aware of nor familiar with this feature, so they can copy and paste data in from their opening of CSV files with the auto conversion happening, and now there's no way of noticing that some mobile numbers are truncated and some not.

    By the time this was spotted, we'd already imported the data onto our CRM.

    I expect when deselecting the options above, that my cells simply won't display long numbers as E+11 numbers. We straight up just need an option to completely disable Scientific notations (which are rarely used by the average user) so that whole numbers show up as whole numbers (i.e. Custom format > "0") if they've not been 'converted'.

    • JakeTExcel's avatar
      JakeTExcel
      Copper Contributor

      No one ever has used the scientific notation formatting in Excel.  Actual scientists do not use it, the way the actual data displayed just like everyone else.  

  • JNC's avatar
    JNC
    Copper Contributor

    Please remove the feature, to convert numbers into Scientific Notation/Text.  Just keep it as numbers.

     

    We are users who use your software daily and this feature wastes our time.

     

    We get thousands of numbers daily, that we need to copy and paste it into excel(that automatically converts it into Text or Scientific Notation) where we then convert it into numbers again (also ensuring that it isn't converted to text).

     

    I do not understand the point of executing this feature and not have it work like it was promised.

     

  • JNC's avatar
    JNC
    Copper Contributor

    Please update the feature, thanks.

  • ML_'s avatar
    ML_
    Copper Contributor

    This setting sounded SO promising. The automatic reformatting of text data is often so opposite of helpful. Alas, although I found this setting and unchecked all the boxes, restarted Excel, rebooted my PC, and regenerated the .csv file... the problem persists!  Ugh.