+ Reply to Thread
Results 1 to 6 of 6

I put 10-24 into a cell, it comes out as 41206.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    West Virginia, USA
    MS-Off Ver
    Excel 2000
    Posts
    31

    I put 10-24 into a cell, it comes out as 41206.

    I have a number cell that I want to put 10-24 into, however everytime that I do, it changes to 41206. I want it to say 10-24. How do I fix this? I have this already typed in other number cells and it's fine, but when I change this specific one, it does this.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: I put 10-24 into a cell, it comes out as 41206.

    Excel interprets 10-24 as a date (October 24th in the current year) so it changes it to that date (41206 represents that date). If you want it to stay as 10-24 then either pre-format the column or range as text (using formatting) or enter with a preceding apostrophe like '10-24. Excel won't display the ' - it tells excel to treat the entry as text
    Audere est facere

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: I put 10-24 into a cell, it comes out as 41206.

    If the other cells show 10-24 they are likely formatted as 'Text' cells, or they were entered as: '10-24.

    Try changing the format of the cell to Text and see if that works.

    - Moo

    * Daddylonglegs-fastfingers beat me to it.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: I put 10-24 into a cell, it comes out as 41206.

    excel is seeing 10-24 as a date (oct 24). put a ' in front, can you leave out the space?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-13-2010
    Location
    West Virginia, USA
    MS-Off Ver
    Excel 2000
    Posts
    31

    Re: I put 10-24 into a cell, it comes out as 41206.

    Ok, that worked, thanks.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: I put 10-24 into a cell, it comes out as 41206.

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ 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