Excel date formatting issue automatically changing date value to month

%3CLINGO-SUB%20id%3D%22lingo-sub-2623291%22%20slang%3D%22en-US%22%3EExcel%20date%20formatting%20issue%20automatically%20changing%20date%20value%20to%20month%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2623291%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20one%20issue%20such%20that%20changing%20my%20date%20field%20as%20month%20field!%20I%20have%20used%20format%20cell%20option%20and%20used%20custom%20format%20M%2FDD%2FYYYY%20and%20entered%2001%2F08%2F2018.%20but%20that%20is%20changing%20to%2008%2F01%2F2018!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20find%20the%20screenshot%20attached.%20Could%20you%20please%20help%20me%20to%20resolve%20the%20issue.%20Because%20of%20which%20I'm%20not%20able%20to%20create%20forecast.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22excel%20issue.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301489iE016BD347B7A2064%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22excel%20issue.PNG%22%20alt%3D%22excel%20issue.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2623291%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2623354%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20date%20formatting%20issue%20automatically%20changing%20date%20value%20to%20month%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2623354%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1122806%22%20target%3D%22_blank%22%3E%40jishnuchandra1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20must%20always%20enter%20dates%20according%20to%20your%20system%20date%20format%2C%20regardless%20of%20how%20the%20cell%20is%20formatted.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20assume%20that%20your%20system%20date%20format%20is%20dd-mm-yyyy.%20If%20you%20enter%2001%2F08%2F2018%2C%20Excel%20interprets%20it%20as%20the%201st%20of%20August%2C%202018%2C%20and%20shows%2001-08-2018%20in%20the%20formula%20bar.%3C%2FP%3E%0A%3CP%3EFormatted%20as%20m%2Fdd%2Fyyyy%2C%20this%20is%20displayed%20as%208%2F01%2F2018%20in%20the%20cell.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20enter%20the%208th%20of%20January%2C%202018%2C%20you%20%3CSTRONG%3Emust%3C%2FSTRONG%3E%20enter%20it%20as%2008%2F01%2F2018%20or%208-1-18%20or%20similar%20because%20of%20the%20dd-mm-yyyy%20system%20date%20format.%20You'll%20see%2008-01-2018%20in%20the%20formula%20bar.%3C%2FP%3E%0A%3CP%3EFormatted%20as%20m%2Fdd%2Fyyyy%2C%20you'll%20see%201%2F08%2F2018%20in%20the%20cell.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2623395%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20date%20formatting%20issue%20automatically%20changing%20date%20value%20to%20month%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2623395%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1122806%22%20target%3D%22_blank%22%3E%40jishnuchandra1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DTEXT(A1%2C%22M.DD.YYYY%22)%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3DTEXT(Value%20you%20want%20to%20format%2C%20%22Format%20code%20you%20want%20to%20apply%22)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Ftext-function-20d5ac4d-7b94-49fd-bb38-93d29371225c%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ETEXT%20function%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%26nbsp%3BAlthough%20you%20can%20use%20the%20TEXT%20function%20to%20change%20formatting%2C%20it%E2%80%99s%20not%20the%20only%20way.%20You%20can%20change%20the%20format%20without%20a%20formula%20by%20pressing%20%3CSTRONG%3ECTRL%2B1%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ethen%20pick%20the%20format%20you%20want%20from%20the%20%3CSTRONG%3EFormat%20Cells%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3ENumber%3C%2FSTRONG%3E%20dialog.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EVarious%20examples%20can%20be%20found%20in%20the%20inserted%20file%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%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%3C%2FLINGO-BODY%3E
New Contributor

I am having one issue such that changing my date field as month field! I have used format cell option and used custom format M/DD/YYYY and entered 01/08/2018. but that is changing to 08/01/2018!

 

Please find the screenshot attached. Could you please help me to resolve the issue. Because of which I'm not able to create forecast.excel issue.PNG

5 Replies

@jishnuchandra1 

You must always enter dates according to your system date format, regardless of how the cell is formatted.

 

I assume that your system date format is dd-mm-yyyy. If you enter 01/08/2018, Excel interprets it as the 1st of August, 2018, and shows 01-08-2018 in the formula bar.

Formatted as m/dd/yyyy, this is displayed as 8/01/2018 in the cell.

 

If you want to enter the 8th of January, 2018, you must enter it as 08/01/2018 or 8-1-18 or similar because of the dd-mm-yyyy system date format. You'll see 08-01-2018 in the formula bar.

Formatted as m/dd/yyyy, you'll see 1/08/2018 in the cell.

@jishnuchandra1 

 

=TEXT(A1,"M.DD.YYYY")

=TEXT(Value you want to format, "Format code you want to apply")

TEXT function

Note: Although you can use the TEXT function to change formatting, it’s not the only way. You can change the format without a formula by pressing CTRL+1,

then pick the format you want from the Format Cells > Number dialog.

 

Various examples can be found in the inserted file.

 

I would be happy to know if I could help.

 

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.

 

 

@jishnuchandra1 

In addition, please note that dates in Excel are actually sequential starting from 01 Jan 1900 (if you are on Windows). In particular, Aug 01, 2021 is actually number 44409. Applied format is only defines how to show this number, not how to enter it.

How to enter is actually defined in Windows settings, do you have default date format as dd/mm/yyyy or m/d/yy or like.

Thank you Hans. This was the issue and I am able to successfully complete my work! Appreciate your help here