+ Reply to Thread
Results 1 to 6 of 6

turns numbers into dates

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    turns numbers into dates

    Hi,

    This should be pretty simple to fix but I haven't figured it out. When I write out ranges in cells like:

    1-10
    10-20
    20-30
    30-40
    Etc.

    Excel turn some of these ranges into dates such as 01-Oct, which is extremely annoying. But trying to change to different date formats but it still keep it to dates.

    Any suggestions to what I can do?

  2. #2
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    362

    Re: turns numbers into dates

    Hello, First format the range or column or row to text. Then enter the numbers you would like to..

    Does that work?

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: turns numbers into dates

    Thanks for the reply!

    Unfortunately not. It still converts it into the date format of 01-Oct.

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: turns numbers into dates

    Instead of 1-10

    try to write '1-10

    the character with the " , i mean Single Quote..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  5. #5
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: turns numbers into dates

    Yeah, that does the trick! But I need to import some data where where the value is already without the quote character. But it works a temporary solution.

  6. #6
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: turns numbers into dates

    formatting cells as text BEFORE entering definitely works, so does import from a text file if you change the fields from general to text in the import wizard
    Attached Files Attached Files
    Last edited by martindwilson; 08-01-2013 at 07:52 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Replies: 0
    Last Post: 02-01-2013, 04:02 AM
  2. [SOLVED] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 PM
  3. Replies: 9
    Last Post: 03-26-2012, 02:16 PM
  4. Replies: 1
    Last Post: 06-21-2006, 06:45 PM
  5. converting dates to numbers and numbers to dates
    By jamie392 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2005, 10:33 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