Home

Entering date format as dd/mm and reverts to dd-mmm format how do I stop this?

%3CLINGO-SUB%20id%3D%22lingo-sub-171952%22%20slang%3D%22en-US%22%3EEntering%20date%20format%20as%20dd%2Fmm%20and%20reverts%20to%20dd-mmm%20format%20how%20do%20I%20stop%20this%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-171952%22%20slang%3D%22en-US%22%3E%3CP%3EI%20require%20the%20date%20format%20in%20a%20column%20to%20show%20dd%2Fmm%20but%20every%20time%20I%20save%20and%20reopen%20the%20document%20it%20auto%20corrects%20it%20to%20dd%2Fmm.%26nbsp%3B%20Ive%20tried%20formatting%20the%20cells%20to%20text%20but%20it%20replaces%20it%20with%20irrelevant%20numbers.%26nbsp%3B%20Online%20suggestions%20have%20said%20to%20change%20the%20date%20default%20in%20control%20panel%20but%20this%20is%20not%20working.%26nbsp%3B%20Would%20appreciate%20some%20guidance%20please.%26nbsp%3B%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-171952%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-453795%22%20slang%3D%22en-US%22%3EEntering%20dates%20in%20an%20Excel%20field%20results%20in%20weird%20entries.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-453795%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20using%20spreadsheets%20since%20before%20Excel%20was%20born%2C%20starting%20back%20in%201984.%20I%20get%20paid%20to%20produce%20workbooks%20full%20of%20complex%20formulae%20and%20VBA%20code.%20My%20point%20-%20I%20am%20not%20a%20newbie%20to%20Excel.%20This%20is%20something%20I%20have%20not%20seen%20before%20and%20have%20run%20out%20of%20ideas%20to%20sort%20it%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20set%20of%20fields%20that%20will%20be%20updated%20programmatically%20(via%20VBA)%20with%20the%20date%20that%20an%20entry%20in%20that%20column%20was%20last%20changed.%20The%20date%20will%20be%20used%20in%20a%20PDF%20report%20in%20the%20footer.%20I%20can%20change%20the%20date%20to%20the%20format%20that%20I%20require%20for%20the%20report%20by%20VBA.%20However%2C%20because%20my%20workbooks%20are%20used%20in%20many%20locations%2C%20I%20require%20the%20date%20in%20the%20spreadsheet%20to%20be%20in%20the%20format%20%22d%20mmmm%20yyyy%22%20to%20avoid%20any%20confusion.%20I%20have%20formatted%20the%20cells%20with%20this%20custom%20setting%2C%20but%20when%20I%20enter%20a%20date%20as%20%221%20Mar%202019%22%2C%20which%20normally%20(in%20all%20my%20other%20spreadsheets)%20gets%20reformatted%20to%20%221%20March%202019%22%2C%20this%20spreadsheet%20is%20formatting%20it%20as%20%2203%2F01%2F2019%22%20and%20displaying%20it%20in%20the%20spreadsheet%20in%20that%20format.%20In%20the%20UK%20this%20is%203rd%20January%2C%20not%201st%20March.%20Thinking%20this%20was%20something%20to%20do%20with%20the%20difference%20between%20UK%20date%20and%20US%20date%20formats%2C%20I%20manually%20changed%20the%20entry%20to%20%2201%2F03%2F2019%22%20and%20it%20changed%20it%20back%20again.%20However%2C%20when%20I%20put%20the%20date%20in%20as%20%2203%2F01%2F2019%22%20the%20spreadsheet%20changed%20it%20to%20%2201%2F03%2F2019%22%2C%20which%20is%20what%20I%20want%2C%20but%20I%20have%20no%20confidence%20what%20that%20date%20means.%20The%20spreadsheet%20toggles%20whatever%20date%20I%20put%20into%20the%20opposite%20format%2C%20transposing%20the%20%22dd%22%20and%20%22mm%22%20figures.%20As%20this%20information%20will%20be%20produced%20programmatically%20in%20the%20future%20and%20I%20won't%20be%20around%20to%20supervise%20these%20entries%2C%20I%20have%20no%20confidence%20in%20this%20spreadsheet%20producing%20the%20correct%20result%20in%20the%20future.%20I%20have%20tried%20many%2C%20many%20things%20to%20sort%20this%20and%20come%20to%20you%20as%20a%20last%20resort.%20My%20next%20step%20is%20to%20decide%20that%20this%20spreadsheet%20is%20corrupted%20and%20to%20shred%20it%2C%20burn%20the%20shreddings%2C%20scatter%20the%20ashes%20and%20dance%20on%20its%20grave%2C%20laughing%20(the%20pressure%20is%20getting%20to%20me%20a%20bit!).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-171964%22%20slang%3D%22en-US%22%3ERe%3A%20Entering%20date%20format%20as%20dd%2Fmm%20and%20reverts%20to%20dd-mmm%20format%20how%20do%20I%20stop%20this%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-171964%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Diana%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20take%20the%20below%20info%20into%20account.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDates%20in%20the%20Excel%20file%20must%20be%20compatible%20with%20the%20date%20format%20in%20the%20operating%20system%2C%20if%20the%20original%20format%20of%20the%20dates%20is%20different%20from%20the%20local%20date%20format%2C%20problems%20with%20dates%20will%20appear%2C%20they%20may%20be%20treated%20as%20text%2C%20or%20they%20may%20remain%20formatted%20as%20dates%2C%20but%20not%20as%20you%20think%20it.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EExamples%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELocal%20Date%20is%3A%20(%3CSPAN%20class%3D%22short_text%22%3EM%2Fd%2Fyyyy)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EExcel%20Date%20is%3A%2015%2F12%2F2017%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20date%20will%20be%20treated%20as%20text%20because%20there%20is%20no%20month%2015!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELocal%20Date%20is%3A%20(%3CSPAN%20class%3D%22short_text%22%3EM%2Fd%2Fyyyy)%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EExcel%20Date%20is%3A%201%2F12%2F2017%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20date%20will%20still%20formatted%20as%20Date%20in%20Excel%2C%20but%20not%20the%20date%20you%20may%20want.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20may%20think%20it%201%2FDec%2F2017%2C%20but%26nbsp%3Bactually%2C%20it%2012%2FJan%2F2017%20as%20the%20local%20date%20format!%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20make%20sure%20that%20%3CSPAN%3Ethe%20format%20of%20the%20dates%20in%20the%20Excel%20sheet%20is%20compatible%20with%20your%20local%20date%20format.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlso%2C%20I%20don't%20recommend%20you%20to%20change%20the%20local%20date%20format%2C%20but%20no%20problem%20if%20you%20change%20the%20Excel%20date%20format%2C%20but%20this%20format%20isn't%20original!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%3CSPAN%3Et's%20just%20a%20mask%20for%20the%20original%20date%20format%20which%20is%20should%20be%20always%20identical%20with%20the%20local%20date%20format.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETo%20enter%20a%20correct%20date%20in%20Excel%2C%20you%20have%20to%20follow%20the%20local%20date%20format%20or%20enter%20it%20in%20the%20universal%20method%20(yyyy%2Fmm%2Fdd).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EExamples%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELocal%20Date%20is%3A%20(%3CSPAN%20class%3D%22short_text%22%3EM%2Fd%2Fyyyy)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EEnter%20the%20excel%20date%20as%20(12%2F15%2F2018)%3C%2FSPAN%3E%20or%20(12%2F15)%20or%20(2018%2F12%2F15)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELocal%20Date%20is%3A%20(dd%3CSPAN%20class%3D%22short_text%22%3E%2FMM%2Fyyyy)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EEnter%20the%20excel%20date%20as%20(15%2F12%2F2018)%3C%2FSPAN%3E%20or%20(15%2F12)%20or%20(2018%2F12%2F15)%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ENOTE%3A%20You%20can%20omit%20the%20year%20if%20you%20year%20you%20want%20is%20the%20current%20year!%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAfter%20you%20enter%20the%20date%20correctly%2C%20you%20change%20its%20format%20as%20you%20want.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EJust%20select%20the%20dates%2C%20and%20then%20click%20%3CSTRONG%3ECtrl%2B1%20%3C%2FSTRONG%3Eto%20open%20the%20%3CSTRONG%3EFormat%20Cells%3C%2FSTRONG%3E%20dialog%20box.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFrom%20the%20Format%20Cells%26nbsp%3Bdialog%20box%20you%20can%20go%20to%20%3CSTRONG%3EDate%3C%2FSTRONG%3E%20category%20and%20select%20an%20existing%20format%2C%20or%20you%20can%20go%20to%20%3CSTRONG%3ECustom%3C%2FSTRONG%3E%20to%20customize%20the%20date%20format.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20example%2C%20copy%20this%20format%20(DD%2FMM)%20into%20the%20%3CSTRONG%3EType%3C%2FSTRONG%3E%20box%2C%20and%20then%20hit%20%3CSTRONG%3EOK%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20870px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25019i750CD972ACED5671%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22DateTimeFormat.png%22%20title%3D%22DateTimeFormat.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHope%20that%20helps%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHaytham%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-475935%22%20slang%3D%22en-US%22%3ERe%3A%20Entering%20dates%20in%20an%20Excel%20field%20results%20in%20weird%20entries.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-475935%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F321269%22%20target%3D%22_blank%22%3E%40AndyGalloway%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EI%20suggest%20you%20check%20the%20VBA%20code.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIt%20may%20have%20a%20bug%20that%20is%20responsible%20for%20that.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Diana Allen
Occasional Visitor

I require the date format in a column to show dd/mm but every time I save and reopen the document it auto corrects it to dd/mm.  Ive tried formatting the cells to text but it replaces it with irrelevant numbers.  Online suggestions have said to change the date default in control panel but this is not working.  Would appreciate some guidance please.  thanks

3 Replies

Hi Diana

 

Please take the below info into account. 

 

Dates in the Excel file must be compatible with the date format in the operating system, if the original format of the dates is different from the local date format, problems with dates will appear, they may be treated as text, or they may remain formatted as dates, but not as you think it.

 

Examples:

Local Date is: (M/d/yyyy)

Excel Date is: 15/12/2017

This date will be treated as text because there is no month 15!

 

Local Date is: (M/d/yyyy)

Excel Date is: 1/12/2017

This date will still formatted as Date in Excel, but not the date you may want.

You may think it 1/Dec/2017, but actually, it 12/Jan/2017 as the local date format!

 

Please make sure that the format of the dates in the Excel sheet is compatible with your local date format.

 

Also, I don't recommend you to change the local date format, but no problem if you change the Excel date format, but this format isn't original!

It's just a mask for the original date format which is should be always identical with the local date format.

 

To enter a correct date in Excel, you have to follow the local date format or enter it in the universal method (yyyy/mm/dd).

 

Examples:

Local Date is: (M/d/yyyy)

Enter the excel date as (12/15/2018) or (12/15) or (2018/12/15)

 

Local Date is: (dd/MM/yyyy)

Enter the excel date as (15/12/2018) or (15/12) or (2018/12/15)

 

NOTE: You can omit the year if you year you want is the current year!

 

After you enter the date correctly, you change its format as you want.

Just select the dates, and then click Ctrl+1 to open the Format Cells dialog box.

From the Format Cells dialog box you can go to Date category and select an existing format, or you can go to Custom to customize the date format.

For example, copy this format (DD/MM) into the Type box, and then hit OK.

 

DateTimeFormat.png

 

Hope that helps

Haytham

I have been using spreadsheets since before Excel was born, starting back in 1984. I get paid to produce workbooks full of complex formulae and VBA code. My point - I am not a newbie to Excel. This is something I have not seen before and have run out of ideas to sort it out.

 

I have a set of fields that will be updated programmatically (via VBA) with the date that an entry in that column was last changed. The date will be used in a PDF report in the footer. I can change the date to the format that I require for the report by VBA. However, because my workbooks are used in many locations, I require the date in the spreadsheet to be in the format "d mmmm yyyy" to avoid any confusion. I have formatted the cells with this custom setting, but when I enter a date as "1 Mar 2019", which normally (in all my other spreadsheets) gets reformatted to "1 March 2019", this spreadsheet is formatting it as "03/01/2019" and displaying it in the spreadsheet in that format. In the UK this is 3rd January, not 1st March. Thinking this was something to do with the difference between UK date and US date formats, I manually changed the entry to "01/03/2019" and it changed it back again. However, when I put the date in as "03/01/2019" the spreadsheet changed it to "01/03/2019", which is what I want, but I have no confidence what that date means. The spreadsheet toggles whatever date I put into the opposite format, transposing the "dd" and "mm" figures. As this information will be produced programmatically in the future and I won't be around to supervise these entries, I have no confidence in this spreadsheet producing the correct result in the future. I have tried many, many things to sort this and come to you as a last resort. My next step is to decide that this spreadsheet is corrupted and to shred it, burn the shreddings, scatter the ashes and dance on its grave, laughing (the pressure is getting to me a bit!).

Hi @AndyGalloway,

 

I suggest you check the VBA code.

It may have a bug that is responsible for that.

Related Conversations