+ Reply to Thread
Results 1 to 3 of 3

Stop numbers converting to dates.

  1. #1
    biglar85012
    Guest

    Stop numbers converting to dates.

    How do I stop a number from being converted to a date? Example: When I
    enter the number 02-08 it automatically converts to "Feb-8". I have tried
    formating the cell as a number, but the date conversion overrides the
    formating and makes it a date. I have tried entering the number as text, but
    then have trouble sorting.

    I realize that enter a digits from 1 thru 12 with a hyphen causes the date
    conversion. How do I TURN IT OFF?

  2. #2
    Peo Sjoblom
    Guest

    Re: Stop numbers converting to dates.

    You need to use text format either by formatting ahead of entry or precede
    it with an apostrophe
    then you can use a formula that will extract the necessary numbers and use
    that help column of formulas to sort by (can be hidden) There is no way to
    turn off Excel date conversion and the other option would be text since the
    string 02-08 is a text string

    --
    Regards,

    Peo Sjoblom


    "biglar85012" <[email protected]> wrote in message
    news:[email protected]...
    > How do I stop a number from being converted to a date? Example: When I
    > enter the number 02-08 it automatically converts to "Feb-8". I have tried
    > formating the cell as a number, but the date conversion overrides the
    > formating and makes it a date. I have tried entering the number as text,
    > but
    > then have trouble sorting.
    >
    > I realize that enter a digits from 1 thru 12 with a hyphen causes the date
    > conversion. How do I TURN IT OFF?




  3. #3
    bj
    Guest

    RE: Stop numbers converting to dates.

    if all you need is the display to have a hyphen, you can format the cell with
    <format><cells>
    select <custom> and enter as type
    00-00
    You can play with the format to make it display what you want. this treats
    a 4 digit number as just a four digit number even though it displays with the
    hyphen.

    "biglar85012" wrote:

    > How do I stop a number from being converted to a date? Example: When I
    > enter the number 02-08 it automatically converts to "Feb-8". I have tried
    > formating the cell as a number, but the date conversion overrides the
    > formating and makes it a date. I have tried entering the number as text, but
    > then have trouble sorting.
    >
    > I realize that enter a digits from 1 thru 12 with a hyphen causes the date
    > conversion. How do I TURN IT OFF?


+ 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