Numbers automatically formats to Date

%3CLINGO-SUB%20id%3D%22lingo-sub-2426162%22%20slang%3D%22en-US%22%3ENumbers%20automatically%20formats%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426162%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20to%20stop%20the%20auto%20formating%20of%20number%2C%20eg%20-%2002-02%20to%20date%3F.%20I'm%20aware%20I%20can%20change%20the%20format%20or%20use%20apostrophes%20while%20typing%2C%20however%20while%20using%20filter%20it%20is%20still%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2426162%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426499%22%20slang%3D%22de-DE%22%3ESubject%3A%20Numbers%20automatically%20formats%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426499%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1073704%22%20target%3D%22_blank%22%3E%40Jeevitha_S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CH1%20id%3D%22toc-hId-1355903048%22%20id%3D%22toc-hId-1355903048%22%20id%3D%22toc-hId-1355903048%22%20id%3D%22toc-hId-1355903046%22%3E%3CFONT%20size%3D%224%22%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fstop-automatically-changing-numbers-to-dates-452bd2db-cc96-47d1-81e4-72cec11c4ed8%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EStop%20automatically%20changing%20numbers%20to%20dates%3C%2FA%3E%3C%2FFONT%3E%3C%2FH1%3E%3CP%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3E%3CSPAN%20class%3D%22appliesToItem%20x-hidden-focus%22%3EExcel%20for%20Microsoft%20365%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22appliesToItem%22%3EExcel%20for%20the%20web%3C%2FSPAN%3E%20Excel%20%3CSPAN%20class%3D%22appliesToItem%22%3E2019%3C%2FSPAN%3E%20Excel%20%3CSPAN%20class%3D%22appliesToItem%22%3E2016%3C%2FSPAN%3E%20Excel%20%3CSPAN%20class%3D%22appliesToItem%22%3E2013%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22appliesToItem%20x-hidden-focus%22%3EExcel%202010%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3EMicrosoft%20Excel%20is%20preprogrammed%20to%20make%20it%20easier%20to%20enter%20dates.%20For%20example%2C%2012%2F2%20changes%20to%202-Dec.%20This%20is%20very%20frustrating%20when%20you%20enter%20something%20that%20you%20don't%20want%20changed%20to%20a%20date.%20Unfortunately%20there%20is%20no%20way%20to%20turn%20this%20off.%20But%20there%20are%20ways%20to%20get%20around%20it.%3C%2FP%3E%3CP%3EPreformat%20the%20cells%20you%20want%20to%20enter%20numbers%20into%20as%20Text.%20This%20way%20Excel%20will%20not%20try%20to%20change%20what%20you%20enter%20into%20dates.%3C%2FP%3E%3CP%3EIf%20you%20only%20have%20a%20few%20numbers%20to%20enter%2C%20you%20can%20stop%20Excel%20from%20changing%20them%20into%20dates%20by%20entering%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EA%20space%20before%20you%20enter%20a%20number.%20The%20space%20remains%20in%20the%20cell%20after%20you%20press%20Enter.%20(See%20Notes)%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAn%20apostrophe%20(')%20before%20you%20enter%20a%20number%2C%20such%20as%20'11-53%20or%20'1%2F47.%20The%20apostrophe%20isn't%20displayed%20in%20the%20cell%20after%20you%20press%20Enter.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EA%20zero%20and%20a%20space%20before%20you%20enter%20a%20fraction%20such%20as%201%2F2%20or%203%2F4%20so%20that%20they%20don't%20change%20to%202-Jan%20or%204-Mar%2C%20for%20example.%20Type%200%201%2F2%20or%200%203%2F4.%20The%20zero%20doesn't%20remain%20in%20the%20cell%20after%20you%20press%20Enter%2C%20and%20the%20cell%20becomes%20the%20Fraction%20number%20type.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3EWindows%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fselect-cell-contents-in-excel-23f64223-2b6b-453a-8688-248355f10fa9%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESelect%20the%20cells%3C%2FA%3E%20that%20you'll%20enter%20numbers%20into.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%20class%3D%22x-hidden-focus%22%3EPress%20Ctrl%20%2B%201%20(the%201%20in%20the%20row%20of%20numbers%20above%20the%20QWERTY%20keys)%20to%20open%20%3CSTRONG%3EFormat%20Cells%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ESelect%20%3CSTRONG%3EText%2C%3C%2FSTRONG%3Eand%20then%20click%20%3CSTRONG%3EOK.%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3EWeb%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%20class%3D%22x-hidden-focus%22%3ESelect%20the%20cells%20you%20want%20to%20enter%20numbers%20into.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EClick%20%3CSTRONG%3EHome%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3ENumber%20Format%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3EText.%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%20class%3D%22ocpAlertSection%22%3E%3CSTRONG%3Eotes%3A%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CUL%20class%3D%22ocpAlertSectionListContainer%22%3E%3CLI%3E%3CP%3EWe%20recommend%20using%20an%20apostrophe%20instead%20of%20a%20space%20for%20entering%20data%20if%20you%20plan%20on%20using%20lookup%20functions%20against%20the%20data.%20Functions%20like%20MATCH%20or%20VLOOKUP%20overlook%20the%20apostrophe%20when%20calculating%20the%20results.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%20class%3D%22x-hidden-focus%22%3EIf%20a%20number%20is%20left-aligned%20in%20a%20cell%20that%20usually%20means%20it%20isn't%20formatted%20as%20a%20number.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EIf%20you%20type%20a%20number%20with%20an%20%22e%22%20in%20it%2C%20such%20as%201e9%2C%20it%20will%20automatically%20result%20in%20a%20scientific%20number%3A%201.00E%2B09.%20If%20you%20don't%20want%20a%20scientific%20number%2C%20enter%20an%20apostrophe%20before%20the%20number%3A%20'1e9%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EDepending%20on%20the%20number%20entered%2C%20you%20may%20see%20a%20small%20green%20triangle%20in%20the%20upper%20left%20corner%20of%20the%20cell%2C%20indicating%20that%20a%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Ffix-text-formatted-numbers-by-applying-a-number-format-6599c03a-954d-4d83-b78a-23af2c8845d0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Enumber%20is%20stored%20as%20text%3C%2FA%3E%2C%20which%20to%20Excel%20is%20an%20error.%20Either%20ignore%20the%20triangle%2C%20or%20click%20on%20it.%20A%20box%20will%20appear%20to%20the%20left.%20Click%20the%20box%2C%20and%20then%20select%20%3CSTRONG%3EIgnore%20Error%2C%3C%2FSTRONG%3Ewhich%20will%20make%20the%20triangle%20go%20away.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help%20with%20this%20information.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wish%20you%20continued%20success%20with%20your%20Computer%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20Kindly%20Mark%20and%20Vote%20any%20reply%20if%20it%20helps%20please%2C%20as%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426744%22%20slang%3D%22en-US%22%3EBetreff%3A%20Numbers%20automatically%20formats%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426744%22%20slang%3D%22en-US%22%3EThank%20you%20for%20the%20response.%20I'm%20facing%20the%20issue%20after%20I%20change%20the%20format%20while%20filtering%20it%20is%20still%20showing%20as%20Date.%3C%2FLINGO-BODY%3E
New Contributor

How to stop the auto formating of number, eg - 02-02 to date?. I'm aware I can change the format or use apostrophes while typing, however while using filter it is still

5 Replies

@Jeevitha_S 

Stop automatically changing numbers to dates

Excel for Microsoft 365 Excel for the web Excel 2019 Excel 2016 Excel 2013 Excel 2010

Microsoft Excel is preprogrammed to make it easier to enter dates. For example, 12/2 changes to 2-Dec. This is very frustrating when you enter something that you don't want changed to a date. Unfortunately there is no way to turn this off. But there are ways to get around it.

Preformat the cells you want to enter numbers into as Text. This way Excel will not try to change what you enter into dates.

If you only have a few numbers to enter, you can stop Excel from changing them into dates by entering:

  • A space before you enter a number. The space remains in the cell after you press Enter. (See Notes)

  • An apostrophe (‘) before you enter a number, such as ’11-53 or ‘1/47. The apostrophe isn’t displayed in the cell after you press Enter.

  • A zero and a space before you enter a fraction such as 1/2 or 3/4 so that they don’t change to 2-Jan or 4-Mar, for example. Type 0 1/2 or 0 3/4. The zero doesn’t remain in the cell after you press Enter, and the cell becomes the Fraction number type.

Windows:

 

  • Select the cells that you’ll enter numbers into.

  • Press Ctrl + 1 (the 1 in the row of numbers above the QWERTY keys) to open Format Cells.

  • Select Text, and then click OK.

Web:

 

  • Select the cells you want to enter numbers into.

  • Click Home > Number Format > Text.

otes: 

  • We recommend using an apostrophe instead of a space for entering data if you plan on using lookup functions against the data. Functions like MATCH or VLOOKUP overlook the apostrophe when calculating the results.

  • If a number is left-aligned in a cell that usually means it isn’t formatted as a number.

  • If you type a number with an “e” in it, such as 1e9, it will automatically result in a scientific number: 1.00E+09. If you don’t want a scientific number, enter an apostrophe before the number: ‘1e9

  • Depending on the number entered, you may see a small green triangle in the upper left corner of the cell, indicating that a number is stored as text, which to Excel is an error. Either ignore the triangle, or click on it. A box will appear to the left. Click the box, and then select Ignore Error, which will make the triangle go away.

I would be happy to know if I could help with this information.

 

I wish you continued success with your Computer

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote any reply if it helps please, as it will be beneficial to more Community members reading here.

 

 

 

 

Thank you for the response. I'm facing the issue after I change the format while filtering it is still showing as Date.

@Jeevitha_S 

 

Worksheet compatibility issues

In this article

It could be a lot, from regional settings to the fact that the worksheet is from an earlier version and this leads to compatibility problems.

It is best to send the file (without sensitive data) to see exactly where the error could be.

Knowing the Excel version as well as the operating system would be an advantage for everyone.

 

Thank you for your understanding and patience

 

Nikolino

I know I don't know anything (Socrates)

@NikolinoDE Thank you for your response. I have attached a sheet for your reference. I changed the format for column A to display '01-02', however when I try to filter, it is still showing as complete date. 

@Jeevitha_S 

 

Stop automatically changing numbers to dates

 

If you only have a few numbers to enter, you can stop Excel from changing them into dates by entering:

  • A space before you enter a number. The space remains in the cell after you press Enter. (See Notes)

  • An apostrophe (‘) before you enter a number, such as ’11-53 or ‘1/47. The apostrophe isn’t displayed in the cell after you press Enter.

  • A zero and a space before you enter a fraction such as 1/2 or 3/4 so that they don’t change to 2-Jan or 4-Mar, for example. Type 0 1/2 or 0 3/4. The zero doesn’t remain in the cell after you press Enter, and the cell becomes the Fraction number type.

Nikolino

I know I don't know anything (Socrates)