+ Reply to Thread
Results 1 to 1 of 1

Suppress automatic conversion to dates on import of .cvs file

  1. #1
    Registered User
    Join Date
    09-28-2013
    Location
    .
    MS-Off Ver
    Excel 2007
    Posts
    1

    Suppress automatic conversion to dates on import of .cvs file

    Hello, there is one particular problem I have with Excel, and it regards importing data from plaintext:

    My supervisor has asked me to provide her with a .csv dataset (plaintext) that will be used in Excel - and in other software (which is why it needs to be .csv) for her research purposes. Now, the problem largely revolves around Excel's autoformatting feature where the number groups "5-9" and "10-14" get reformatted as a date.

    I know that in Excel you can format the cell as text, or that you can write '5-9 or '10-14 but I am unaware of any way to format a .csv so that when it is loaded into excel, it automatically performs this functionality. I have tried writing '5-9 and '10-14 in the .csv document, but when I load in into excel, the apostrophe is not hidden.

    Essentially, the question is: how do I format a plaintext cell so that when the file is loaded into excel, you can see literal "5-9" and "10-14" (without quotes). The resultant sting must be exactly that; "5 to 9" or "5-9 ye" or any other kludges aren't acceptable to my supervisor.

    Thanks in advance.

    Edit: I solved my own problem: the way to do this is to write the cell as ="5-9"

    Moderator's note: Welcome to the forum! I updated your title to better reflect your question, in case someone knows of a better solution. --6SJ
    Last edited by 6StringJazzer; 09-29-2013 at 08:38 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CSV and Autoformatting
    By mcockram85 in forum Excel General
    Replies: 1
    Last Post: 10-13-2008, 08:30 PM
  2. Autoformatting a row
    By scubab in forum Excel General
    Replies: 2
    Last Post: 12-07-2007, 04:59 PM
  3. [SOLVED] autoformatting [##,###] (##,###)
    By myra_deV in forum Excel General
    Replies: 2
    Last Post: 08-02-2006, 08:20 AM
  4. [SOLVED] Problems with autoformatting revisited
    By Andy in forum Excel General
    Replies: 0
    Last Post: 06-14-2006, 09:10 AM
  5. How do you turn off autoformatting?
    By nickt in forum Excel General
    Replies: 1
    Last Post: 09-27-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1