Excel always changes numbers to dates or currency – solution

Excel changes cell format to date or currency always when you write some value? This problem can have several reasons.

Default cell style

Default cell style Normal may be modified. Normal style is used for entire worksheet, so in each cell. How to fix this: go to the Home >> Cell Styles >> Right-click on the Normal >> select Modify… >> Format >> set Number format Category to General

Modify Normal style

Custom cell style

Some custom style is may be used in the cells. To fix this: go to the Home >> Cell Styles >>select Normal or edit/delete your custom styles. You can see the custom Style 1 in the picture.

Custom style

Conditional formatting

Conditional formatting is may be applied to the cells. To fix this problem, check the rules manager: go to the Home >> Conditional formatting >> Manage Rules… >> edit or delete rules. The picture shows 2 rules that change format to currency and date.

Conditional Formatting Rules Manager

Add a comment »4 comments to this article

  1. I get date in Excel after I make copy paste number from my Outlook. What is the reason of that? I hate Excel…

    Reply

  2. Problem description:

    1.1. excel recognizes as 1.1.default year
    1.2. excel recognizes as 1.2.default year


    but in real life I need values:

    1,1
    1,2


    43466 1,1 01.01.2019
    43497 1,2 01.02.2019
    43525 1,3 01.03.2019
    43556 1,4 01.04.2019
    43586 1,5 01.05.2019

    One solution is to find all problematic values, and those are usually the next one’s:

    1,1
    1,2
    1,3
    1,4
    1,5
    1,6
    1,7
    1,8
    1,9
    2,1
    2,2
    2,3
    2,4
    2,5
    2,6
    2,7
    2,8
    2,9
    3,1
    3,2
    3,3
    3,4
    3,5
    3,6
    3,7
    3,8
    3,9
    4,1
    4,2
    4,3
    4,4
    4,5
    4,6
    4,7
    4,8
    4,9
    5,1
    5,2
    5,3
    5,4
    5,5
    5,6
    5,7
    5,8
    5,9
    6,1
    6,2
    6,3
    6,4
    6,5
    6,6
    6,7
    6,8
    6,9
    7,1
    7,2
    7,3
    7,4
    7,5
    7,6
    7,7
    7,8
    7,9
    8,1
    8,2
    8,3
    8,4
    8,5
    8,6
    8,7
    8,8
    8,9
    9,1
    9,2
    9,3
    9,4
    9,5
    9,6
    9,7
    9,8
    9,9
    10,1
    10,2
    10,3
    10,4
    10,5
    10,6
    10,7
    10,8
    10,9
    11,1
    11,2
    11,3
    11,4
    11,5
    11,6
    11,7
    11,8
    11,9
    12,1
    12,2
    12,3
    12,4
    12,5
    12,6
    12,7
    12,8
    12,9
    13,1
    13,2
    13,3
    13,4
    13,5
    13,6
    13,7
    13,8
    13,9
    14,1
    14,2
    14,3
    14,4
    14,5
    14,6
    14,7
    14,8
    14,9
    15,1
    15,2
    15,3
    15,4
    15,5
    15,6
    15,7
    15,8
    15,9
    16,1
    16,2
    16,3
    16,4
    16,5
    16,6
    16,7
    16,8
    16,9
    17,1
    17,2
    17,3
    17,4
    17,5
    17,6
    17,7
    17,8
    17,9
    18,1
    18,2
    18,3
    18,4
    18,5
    18,6
    18,7
    18,8
    18,9
    19,1
    19,2
    19,3
    19,4
    19,5
    19,6
    19,7
    19,8
    19,9
    20,1
    20,2
    20,3
    20,4
    20,5
    20,6
    20,7
    20,8
    20,9
    21,1
    21,2
    21,3
    21,4
    21,5
    21,6
    21,7
    21,8
    21,9
    22,1
    22,2
    22,3
    22,4
    22,5
    22,6
    22,7
    22,8
    22,9
    23,1
    23,2
    23,3
    23,4
    23,5
    23,6
    23,7
    23,8
    23,9
    24,1
    24,2
    24,3
    24,4
    24,5
    24,6
    24,7
    24,8
    24,9
    25,1
    25,2
    25,3
    25,4
    25,5
    25,6
    25,7
    25,8
    25,9
    26,1
    26,2
    26,3
    26,4
    26,5
    26,6
    26,7
    26,8
    26,9
    27,1
    27,2
    27,3
    27,4
    27,5
    27,6
    27,7
    27,8
    27,9
    28,1
    28,2
    28,3
    28,4
    28,5
    28,6
    28,7
    28,8
    28,9
    29,1
    29,2
    29,3
    29,4
    29,5
    29,6
    29,7
    29,8
    29,9
    30,1
    30,3
    30,4
    30,5
    30,6
    30,7
    30,8
    30,9
    31,1
    31,3
    31,5
    31,7
    31,8

    For all those values I used default date value that is represented in excel by default:

    Def. value Number Value
    43466 1,1
    43497 1,2
    43525 1,3
    43556 1,4
    43586 1,5
    43617 1,6
    43647 1,7
    43678 1,8
    43709 1,9
    43467 2,1
    43498 2,2
    43526 2,3
    43557 2,4
    43587 2,5
    43618 2,6
    43648 2,7
    43679 2,8
    43710 2,9
    43468 3,1
    43499 3,2
    43527 3,3
    43558 3,4
    43588 3,5
    43619 3,6
    43649 3,7
    43680 3,8
    43711 3,9
    43469 4,1
    43500 4,2
    43528 4,3
    43559 4,4
    43589 4,5
    43620 4,6
    43650 4,7
    43681 4,8
    43712 4,9
    43470 5,1
    43501 5,2
    43529 5,3
    43560 5,4
    43590 5,5
    43621 5,6
    43651 5,7
    43682 5,8
    43713 5,9
    43471 6,1
    43502 6,2
    43530 6,3
    43561 6,4
    43591 6,5
    43622 6,6
    43652 6,7
    43683 6,8
    43714 6,9
    43472 7,1
    43503 7,2
    43531 7,3
    43562 7,4
    43592 7,5
    43623 7,6
    43653 7,7
    43684 7,8
    43715 7,9
    43473 8,1
    43504 8,2
    43532 8,3
    43563 8,4
    43593 8,5
    43624 8,6
    43654 8,7
    43685 8,8
    43716 8,9
    43474 9,1
    43505 9,2
    43533 9,3
    43564 9,4
    43594 9,5
    43625 9,6
    43655 9,7
    43686 9,8
    43717 9,9
    43475 10,1
    43506 10,2
    43534 10,3
    43565 10,4
    43595 10,5
    43626 10,6
    43656 10,7
    43687 10,8
    43718 10,9
    43476 11,1
    43507 11,2
    43535 11,3
    43566 11,4
    43596 11,5
    43627 11,6
    43657 11,7
    43688 11,8
    43719 11,9
    43477 12,1
    43508 12,2
    43536 12,3
    43567 12,4
    43597 12,5
    43628 12,6
    43658 12,7
    43689 12,8
    43720 12,9
    43478 13,1
    43509 13,2
    43537 13,3
    43568 13,4
    43598 13,5
    43629 13,6
    43659 13,7
    43690 13,8
    43721 13,9
    43479 14,1
    43510 14,2
    43538 14,3
    43569 14,4
    43599 14,5
    43630 14,6
    43660 14,7
    43691 14,8
    43722 14,9
    43480 15,1
    43511 15,2
    43539 15,3
    43570 15,4
    43600 15,5
    43631 15,6
    43661 15,7
    43692 15,8
    43723 15,9
    43481 16,1
    43512 16,2
    43540 16,3
    43571 16,4
    43601 16,5
    43632 16,6
    43662 16,7
    43693 16,8
    43724 16,9
    43482 17,1
    43513 17,2
    43541 17,3
    43572 17,4
    43602 17,5
    43633 17,6
    43663 17,7
    43694 17,8
    43725 17,9
    43483 18,1
    43514 18,2
    43542 18,3
    43573 18,4
    43603 18,5
    43634 18,6
    43664 18,7
    43695 18,8
    43726 18,9
    43484 19,1
    43515 19,2
    43543 19,3
    43574 19,4
    43604 19,5
    43635 19,6
    43665 19,7
    43696 19,8
    43727 19,9
    43485 20,1
    43516 20,2
    43544 20,3
    43575 20,4
    43605 20,5
    43636 20,6
    43666 20,7
    43697 20,8
    43728 20,9
    43486 21,1
    43517 21,2
    43545 21,3
    43576 21,4
    43606 21,5
    43637 21,6
    43667 21,7
    43698 21,8
    43729 21,9
    43487 22,1
    43518 22,2
    43546 22,3
    43577 22,4
    43607 22,5
    43638 22,6
    43668 22,7
    43699 22,8
    43730 22,9
    43488 23,1
    43519 23,2
    43547 23,3
    43578 23,4
    43608 23,5
    43639 23,6
    43669 23,7
    43700 23,8
    43731 23,9
    43489 24,1
    43520 24,2
    43548 24,3
    43579 24,4
    43609 24,5
    43640 24,6
    43670 24,7
    43701 24,8
    43732 24,9
    43490 25,1
    43521 25,2
    43549 25,3
    43580 25,4
    43610 25,5
    43641 25,6
    43671 25,7
    43702 25,8
    43733 25,9
    43491 26,1
    43522 26,2
    43550 26,3
    43581 26,4
    43611 26,5
    43642 26,6
    43672 26,7
    43703 26,8
    43734 26,9
    43492 27,1
    43523 27,2
    43551 27,3
    43582 27,4
    43612 27,5
    43643 27,6
    43673 27,7
    43704 27,8
    43735 27,9
    43493 28,1
    43524 28,2
    43552 28,3
    43583 28,4
    43613 28,5
    43644 28,6
    43674 28,7
    43705 28,8
    43736 28,9
    43494 29,1
    43890 29,2
    43553 29,3
    43584 29,4
    43614 29,5
    43645 29,6
    43675 29,7
    43706 29,8
    43737 29,9
    43495 30,1
    43554 30,3
    43585 30,4
    43615 30,5
    43646 30,6
    43676 30,7
    43707 30,8
    43738 30,9
    43496 31,1
    43555 31,3
    43616 31,5
    43677 31,7
    43708 31,8

    And then just add +1 extra year for each cell in next year.
    EDATE(CellA1,12)

    43831 1,1
    43862 1,2
    43891 1,3
    43922 1,4
    43952 1,5
    43983 1,6
    44013 1,7
    44044 1,8
    44075 1,9
    43832 2,1
    43863 2,2
    43892 2,3
    43923 2,4
    43953 2,5
    43984 2,6
    44014 2,7
    44045 2,8
    44076 2,9
    43833 3,1
    43864 3,2
    43893 3,3
    43924 3,4
    43954 3,5
    43985 3,6
    44015 3,7
    44046 3,8
    44077 3,9
    43834 4,1
    43865 4,2
    43894 4,3
    43925 4,4
    43955 4,5
    43986 4,6
    44016 4,7
    44047 4,8
    44078 4,9
    43835 5,1
    43866 5,2
    43895 5,3
    43926 5,4
    43956 5,5
    43987 5,6
    44017 5,7
    44048 5,8
    44079 5,9
    43836 6,1
    43867 6,2
    43896 6,3
    43927 6,4
    43957 6,5
    43988 6,6
    44018 6,7
    44049 6,8
    44080 6,9
    43837 7,1
    43868 7,2
    43897 7,3
    43928 7,4
    43958 7,5
    43989 7,6
    44019 7,7
    44050 7,8
    44081 7,9
    43838 8,1
    43869 8,2
    43898 8,3
    43929 8,4
    43959 8,5
    43990 8,6
    44020 8,7
    44051 8,8
    44082 8,9
    43839 9,1
    43870 9,2
    43899 9,3
    43930 9,4
    43960 9,5
    43991 9,6
    44021 9,7
    44052 9,8
    44083 9,9
    43840 10,1
    43871 10,2
    43900 10,3
    43931 10,4
    43961 10,5
    43992 10,6
    44022 10,7
    44053 10,8
    44084 10,9
    43841 11,1
    43872 11,2
    43901 11,3
    43932 11,4
    43962 11,5
    43993 11,6
    44023 11,7
    44054 11,8
    44085 11,9
    43842 12,1
    43873 12,2
    43902 12,3
    43933 12,4
    43963 12,5
    43994 12,6
    44024 12,7
    44055 12,8
    44086 12,9
    43843 13,1
    43874 13,2
    43903 13,3
    43934 13,4
    43964 13,5
    43995 13,6
    44025 13,7
    44056 13,8
    44087 13,9
    43844 14,1
    43875 14,2
    43904 14,3
    43935 14,4
    43965 14,5
    43996 14,6
    44026 14,7
    44057 14,8
    44088 14,9
    43845 15,1
    43876 15,2
    43905 15,3
    43936 15,4
    43966 15,5
    43997 15,6
    44027 15,7
    44058 15,8
    44089 15,9
    43846 16,1
    43877 16,2
    43906 16,3
    43937 16,4
    43967 16,5
    43998 16,6
    44028 16,7
    44059 16,8
    44090 16,9
    43847 17,1
    43878 17,2
    43907 17,3
    43938 17,4
    43968 17,5
    43999 17,6
    44029 17,7
    44060 17,8
    44091 17,9
    43848 18,1
    43879 18,2
    43908 18,3
    43939 18,4
    43969 18,5
    44000 18,6
    44030 18,7
    44061 18,8
    44092 18,9
    43849 19,1
    43880 19,2
    43909 19,3
    43940 19,4
    43970 19,5
    44001 19,6
    44031 19,7
    44062 19,8
    44093 19,9
    43850 20,1
    43881 20,2
    43910 20,3
    43941 20,4
    43971 20,5
    44002 20,6
    44032 20,7
    44063 20,8
    44094 20,9
    43851 21,1
    43882 21,2
    43911 21,3
    43942 21,4
    43972 21,5
    44003 21,6
    44033 21,7
    44064 21,8
    44095 21,9
    43852 22,1
    43883 22,2
    43912 22,3
    43943 22,4
    43973 22,5
    44004 22,6
    44034 22,7
    44065 22,8
    44096 22,9
    43853 23,1
    43884 23,2
    43913 23,3
    43944 23,4
    43974 23,5
    44005 23,6
    44035 23,7
    44066 23,8
    44097 23,9
    43854 24,1
    43885 24,2
    43914 24,3
    43945 24,4
    43975 24,5
    44006 24,6
    44036 24,7
    44067 24,8
    44098 24,9
    43855 25,1
    43886 25,2
    43915 25,3
    43946 25,4
    43976 25,5
    44007 25,6
    44037 25,7
    44068 25,8
    44099 25,9
    43856 26,1
    43887 26,2
    43916 26,3
    43947 26,4
    43977 26,5
    44008 26,6
    44038 26,7
    44069 26,8
    44100 26,9
    43857 27,1
    43888 27,2
    43917 27,3
    43948 27,4
    43978 27,5
    44009 27,6
    44039 27,7
    44070 27,8
    44101 27,9
    43858 28,1
    43889 28,2
    43918 28,3
    43949 28,4
    43979 28,5
    44010 28,6
    44040 28,7
    44071 28,8
    44102 28,9
    43859 29,1
    44255 29,2
    43919 29,3
    43950 29,4
    43980 29,5
    44011 29,6
    44041 29,7
    44072 29,8
    44103 29,9
    43860 30,1
    43920 30,3
    43951 30,4
    43981 30,5
    44012 30,6
    44042 30,7
    44073 30,8
    44104 30,9
    43861 31,1
    43921 31,3
    43982 31,5
    44043 31,7
    44074 31,8

    And you can repeat that story for the next few years. At the end I calculated values for the next 20 years.

    At the end use IF function in cases you get date value and not number value. How to check if there is date and no number value, very simple procedure.

    If desired cell has value higher than 40000 it seems Excel put in cell date value and no number value, so in that case use VLOOKUP value for possible default dates and represent as real number value.

    =IF(E2>40000;VLOOKUP(E2;A2:B11509;2;FALSE);E2)

    I hope it helps you a lot.

    Bye, Matej 🙂

    Reply

    • This answer make no sence to me. Can you explain us what do you try to show?

      Reply

  3. Didn’t work for me. Does anybody know some other solution? Please help.

    Thank you.

    Reply

Leave a Reply to Mandy Cancel reply



Copyright © All Rights Reserved · Green Hope Theme by Sivan & schiy · Proudly powered by WordPress