+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : formatting cell so it doesn't convert to date

  1. #1
    Registered User
    Join Date
    11-02-2011
    Location
    colorado
    MS-Off Ver
    Excel 2003
    Posts
    1

    formatting cell so it doesn't convert to date

    I have data previously entered into a spreadsheet that contains numeric values separated by a front slash. For example 01/99 or 23/23. Excel is trying to reformat that data as a date. I absolutely need the data to stay in xx/yyy format. To make things tricky there are also letters allowed, so I could have values like s/11.
    If the value of the xx is less than or equal to 12, Excel thinks that it is a date and converts as such. If the xx value is equal or greater than 13, Excel leaves it as desired

    The data has been exported from SQL Server 2005. Thanks in advance,
    Last edited by NBVC; 11-02-2011 at 01:02 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with conditional format please

    Try preformatting the column as text.

    Or if you are importing to Excel have the file saved as .txt then when importing, a text to column wizard should pop up click delimited, click next, select comma, click Next and then select the column that is giving the problem from the main preview pane and select Text from the data column format area and click Finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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