How do I enter dates in ISO 8601 date format (YYYY-MM-DD) in Excel (and have Excel recognize that format as a...












26















I tried to enter this date in ISO 8601 format (YYYY-MM-DD) in Excel 2010: 2012-04-08, but Excel automatically converts the date format to 4/8/2012.



I tried scrolling through the different types of Date formats that Excel allows me to choose from, but the 'YYYY-MM-DD' format isn't there:
enter image description here



Is there a way for Excel to recognize the ISO 8601 date format as a date value (and not automatically convert it to another format) when entered in a cell?










share|improve this question





























    26















    I tried to enter this date in ISO 8601 format (YYYY-MM-DD) in Excel 2010: 2012-04-08, but Excel automatically converts the date format to 4/8/2012.



    I tried scrolling through the different types of Date formats that Excel allows me to choose from, but the 'YYYY-MM-DD' format isn't there:
    enter image description here



    Is there a way for Excel to recognize the ISO 8601 date format as a date value (and not automatically convert it to another format) when entered in a cell?










    share|improve this question



























      26












      26








      26


      2






      I tried to enter this date in ISO 8601 format (YYYY-MM-DD) in Excel 2010: 2012-04-08, but Excel automatically converts the date format to 4/8/2012.



      I tried scrolling through the different types of Date formats that Excel allows me to choose from, but the 'YYYY-MM-DD' format isn't there:
      enter image description here



      Is there a way for Excel to recognize the ISO 8601 date format as a date value (and not automatically convert it to another format) when entered in a cell?










      share|improve this question
















      I tried to enter this date in ISO 8601 format (YYYY-MM-DD) in Excel 2010: 2012-04-08, but Excel automatically converts the date format to 4/8/2012.



      I tried scrolling through the different types of Date formats that Excel allows me to choose from, but the 'YYYY-MM-DD' format isn't there:
      enter image description here



      Is there a way for Excel to recognize the ISO 8601 date format as a date value (and not automatically convert it to another format) when entered in a cell?







      microsoft-excel date-format






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '17 at 4:54









      fixer1234

      19k144982




      19k144982










      asked Apr 8 '12 at 6:12









      galacticninjagalacticninja

      3,8301363100




      3,8301363100






















          6 Answers
          6






          active

          oldest

          votes


















          27














          What you want is to use a custom format. Just type it in the box.



          Screenshot of format cells
          Click for full size






          share|improve this answer
























          • What about for Excel 2011? There is no box to enter a custom format!

            – Michael
            Jan 21 '16 at 17:40











          • @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

            – Bob
            Jan 21 '16 at 21:18



















          2














          Excel recognized your entry of yyyy-mm-dd, which is why it automatically converted it to your Regional Short Date format (Windows 7: Start > Control Panel > Region and Language > Formats).



          What you wanted was for Excel to recognize and display the format.



          In addition to the above, if you want a date that responds to the user's short date format, add an asterisk *yyyy-mm-dd. I don't recommend it, but you can do it.



          I once did a list where we wanted items sorted by date, but for posting on the Web, we wanted to display only the year and month. We had our Date column where we entered the date in full yyyy-mm-dd. In a second column (B), we converted the date (=A2) to show only the year and month with the cell format: yyyy-mm. When it came time to post, we sort by Date, copy the other needed columns, say B-D, and paste on the Web page. WOrked like a charm.






          share|improve this answer































            2














            I had been using the custom formats before. I changed my system region (Control Panel > All Control Panel Items > Region) to English (United Kingdom), short date to "yyyy-MM-dd" and Excel then did not auto correct from "2015-10-06" to "10/6/2015". It did not auto correct the other way though, but if you enter it that way it will stay that way. Saved me some time for sure!






            share|improve this answer





















            • 2





              It's pretty crazy that you have to lie about your location to get an ISO standard date format!

              – Michael
              Jan 21 '16 at 17:41



















            1














            This is what worked for me instead:
            If it's a column of cells...



            Select the column
            Data tab then text to columns (in xl2003 menus)
            choose fixed width, but don't have any delimiter lines
            Choose Date (ymd)
            This will convert the data to dates.



            Now you can format the range the way you like.
            credit goes to Dave here: http://msgroups.net/microsoft.public.excel.worksheet.functions/how-do-i-convert-d/75235






            share|improve this answer
























            • Hooray! Yes! This is it!!!

              – elliot svensson
              Aug 28 '18 at 16:56



















            1














            Custom formats are the obvious solution.



            If you don't want to let go of the mouse, you can scroll the locale up one option from "English (United States)" to "English (United Kingdom)" and the YYYY-MM-DD format will appear among the choices.






            share|improve this answer
























            • Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

              – patricktokeeffe
              Jun 9 '15 at 22:44



















            1














            There's a MUCH easier, safer way to do this:



            In dates, just change your locale to Australia and poof! ANSI standard dates are available AND if you're in the US, Canada, Australia, or New Zealand, it doesn't monkey with your currency format, as all those countries all use the $ symbol.



            Why--in their infinite wisdom--Microsoft doesn't make this available to ALL locales is a mystery, but it has been this way for years.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f409896%2fhow-do-i-enter-dates-in-iso-8601-date-format-yyyy-mm-dd-in-excel-and-have-exc%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              6 Answers
              6






              active

              oldest

              votes








              6 Answers
              6






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              27














              What you want is to use a custom format. Just type it in the box.



              Screenshot of format cells
              Click for full size






              share|improve this answer
























              • What about for Excel 2011? There is no box to enter a custom format!

                – Michael
                Jan 21 '16 at 17:40











              • @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

                – Bob
                Jan 21 '16 at 21:18
















              27














              What you want is to use a custom format. Just type it in the box.



              Screenshot of format cells
              Click for full size






              share|improve this answer
























              • What about for Excel 2011? There is no box to enter a custom format!

                – Michael
                Jan 21 '16 at 17:40











              • @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

                – Bob
                Jan 21 '16 at 21:18














              27












              27








              27







              What you want is to use a custom format. Just type it in the box.



              Screenshot of format cells
              Click for full size






              share|improve this answer













              What you want is to use a custom format. Just type it in the box.



              Screenshot of format cells
              Click for full size







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Apr 8 '12 at 6:40









              BobBob

              46.2k20140173




              46.2k20140173













              • What about for Excel 2011? There is no box to enter a custom format!

                – Michael
                Jan 21 '16 at 17:40











              • @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

                – Bob
                Jan 21 '16 at 21:18



















              • What about for Excel 2011? There is no box to enter a custom format!

                – Michael
                Jan 21 '16 at 17:40











              • @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

                – Bob
                Jan 21 '16 at 21:18

















              What about for Excel 2011? There is no box to enter a custom format!

              – Michael
              Jan 21 '16 at 17:40





              What about for Excel 2011? There is no box to enter a custom format!

              – Michael
              Jan 21 '16 at 17:40













              @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

              – Bob
              Jan 21 '16 at 21:18





              @Michael Sorry, I've not used nor do I have access to an OS X copy of Excel. Consider asking a new question addressing that version explicitly (and say why this question is not a duplicate).

              – Bob
              Jan 21 '16 at 21:18













              2














              Excel recognized your entry of yyyy-mm-dd, which is why it automatically converted it to your Regional Short Date format (Windows 7: Start > Control Panel > Region and Language > Formats).



              What you wanted was for Excel to recognize and display the format.



              In addition to the above, if you want a date that responds to the user's short date format, add an asterisk *yyyy-mm-dd. I don't recommend it, but you can do it.



              I once did a list where we wanted items sorted by date, but for posting on the Web, we wanted to display only the year and month. We had our Date column where we entered the date in full yyyy-mm-dd. In a second column (B), we converted the date (=A2) to show only the year and month with the cell format: yyyy-mm. When it came time to post, we sort by Date, copy the other needed columns, say B-D, and paste on the Web page. WOrked like a charm.






              share|improve this answer




























                2














                Excel recognized your entry of yyyy-mm-dd, which is why it automatically converted it to your Regional Short Date format (Windows 7: Start > Control Panel > Region and Language > Formats).



                What you wanted was for Excel to recognize and display the format.



                In addition to the above, if you want a date that responds to the user's short date format, add an asterisk *yyyy-mm-dd. I don't recommend it, but you can do it.



                I once did a list where we wanted items sorted by date, but for posting on the Web, we wanted to display only the year and month. We had our Date column where we entered the date in full yyyy-mm-dd. In a second column (B), we converted the date (=A2) to show only the year and month with the cell format: yyyy-mm. When it came time to post, we sort by Date, copy the other needed columns, say B-D, and paste on the Web page. WOrked like a charm.






                share|improve this answer


























                  2












                  2








                  2







                  Excel recognized your entry of yyyy-mm-dd, which is why it automatically converted it to your Regional Short Date format (Windows 7: Start > Control Panel > Region and Language > Formats).



                  What you wanted was for Excel to recognize and display the format.



                  In addition to the above, if you want a date that responds to the user's short date format, add an asterisk *yyyy-mm-dd. I don't recommend it, but you can do it.



                  I once did a list where we wanted items sorted by date, but for posting on the Web, we wanted to display only the year and month. We had our Date column where we entered the date in full yyyy-mm-dd. In a second column (B), we converted the date (=A2) to show only the year and month with the cell format: yyyy-mm. When it came time to post, we sort by Date, copy the other needed columns, say B-D, and paste on the Web page. WOrked like a charm.






                  share|improve this answer













                  Excel recognized your entry of yyyy-mm-dd, which is why it automatically converted it to your Regional Short Date format (Windows 7: Start > Control Panel > Region and Language > Formats).



                  What you wanted was for Excel to recognize and display the format.



                  In addition to the above, if you want a date that responds to the user's short date format, add an asterisk *yyyy-mm-dd. I don't recommend it, but you can do it.



                  I once did a list where we wanted items sorted by date, but for posting on the Web, we wanted to display only the year and month. We had our Date column where we entered the date in full yyyy-mm-dd. In a second column (B), we converted the date (=A2) to show only the year and month with the cell format: yyyy-mm. When it came time to post, we sort by Date, copy the other needed columns, say B-D, and paste on the Web page. WOrked like a charm.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 24 '14 at 14:20









                  Excel-lentExcel-lent

                  211




                  211























                      2














                      I had been using the custom formats before. I changed my system region (Control Panel > All Control Panel Items > Region) to English (United Kingdom), short date to "yyyy-MM-dd" and Excel then did not auto correct from "2015-10-06" to "10/6/2015". It did not auto correct the other way though, but if you enter it that way it will stay that way. Saved me some time for sure!






                      share|improve this answer





















                      • 2





                        It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                        – Michael
                        Jan 21 '16 at 17:41
















                      2














                      I had been using the custom formats before. I changed my system region (Control Panel > All Control Panel Items > Region) to English (United Kingdom), short date to "yyyy-MM-dd" and Excel then did not auto correct from "2015-10-06" to "10/6/2015". It did not auto correct the other way though, but if you enter it that way it will stay that way. Saved me some time for sure!






                      share|improve this answer





















                      • 2





                        It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                        – Michael
                        Jan 21 '16 at 17:41














                      2












                      2








                      2







                      I had been using the custom formats before. I changed my system region (Control Panel > All Control Panel Items > Region) to English (United Kingdom), short date to "yyyy-MM-dd" and Excel then did not auto correct from "2015-10-06" to "10/6/2015". It did not auto correct the other way though, but if you enter it that way it will stay that way. Saved me some time for sure!






                      share|improve this answer















                      I had been using the custom formats before. I changed my system region (Control Panel > All Control Panel Items > Region) to English (United Kingdom), short date to "yyyy-MM-dd" and Excel then did not auto correct from "2015-10-06" to "10/6/2015". It did not auto correct the other way though, but if you enter it that way it will stay that way. Saved me some time for sure!







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jul 10 '15 at 3:11









                      galacticninja

                      3,8301363100




                      3,8301363100










                      answered Jul 9 '15 at 18:07









                      NaKNaK

                      211




                      211








                      • 2





                        It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                        – Michael
                        Jan 21 '16 at 17:41














                      • 2





                        It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                        – Michael
                        Jan 21 '16 at 17:41








                      2




                      2





                      It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                      – Michael
                      Jan 21 '16 at 17:41





                      It's pretty crazy that you have to lie about your location to get an ISO standard date format!

                      – Michael
                      Jan 21 '16 at 17:41











                      1














                      This is what worked for me instead:
                      If it's a column of cells...



                      Select the column
                      Data tab then text to columns (in xl2003 menus)
                      choose fixed width, but don't have any delimiter lines
                      Choose Date (ymd)
                      This will convert the data to dates.



                      Now you can format the range the way you like.
                      credit goes to Dave here: http://msgroups.net/microsoft.public.excel.worksheet.functions/how-do-i-convert-d/75235






                      share|improve this answer
























                      • Hooray! Yes! This is it!!!

                        – elliot svensson
                        Aug 28 '18 at 16:56
















                      1














                      This is what worked for me instead:
                      If it's a column of cells...



                      Select the column
                      Data tab then text to columns (in xl2003 menus)
                      choose fixed width, but don't have any delimiter lines
                      Choose Date (ymd)
                      This will convert the data to dates.



                      Now you can format the range the way you like.
                      credit goes to Dave here: http://msgroups.net/microsoft.public.excel.worksheet.functions/how-do-i-convert-d/75235






                      share|improve this answer
























                      • Hooray! Yes! This is it!!!

                        – elliot svensson
                        Aug 28 '18 at 16:56














                      1












                      1








                      1







                      This is what worked for me instead:
                      If it's a column of cells...



                      Select the column
                      Data tab then text to columns (in xl2003 menus)
                      choose fixed width, but don't have any delimiter lines
                      Choose Date (ymd)
                      This will convert the data to dates.



                      Now you can format the range the way you like.
                      credit goes to Dave here: http://msgroups.net/microsoft.public.excel.worksheet.functions/how-do-i-convert-d/75235






                      share|improve this answer













                      This is what worked for me instead:
                      If it's a column of cells...



                      Select the column
                      Data tab then text to columns (in xl2003 menus)
                      choose fixed width, but don't have any delimiter lines
                      Choose Date (ymd)
                      This will convert the data to dates.



                      Now you can format the range the way you like.
                      credit goes to Dave here: http://msgroups.net/microsoft.public.excel.worksheet.functions/how-do-i-convert-d/75235







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Aug 22 '13 at 15:52









                      ITGalITGal

                      111




                      111













                      • Hooray! Yes! This is it!!!

                        – elliot svensson
                        Aug 28 '18 at 16:56



















                      • Hooray! Yes! This is it!!!

                        – elliot svensson
                        Aug 28 '18 at 16:56

















                      Hooray! Yes! This is it!!!

                      – elliot svensson
                      Aug 28 '18 at 16:56





                      Hooray! Yes! This is it!!!

                      – elliot svensson
                      Aug 28 '18 at 16:56











                      1














                      Custom formats are the obvious solution.



                      If you don't want to let go of the mouse, you can scroll the locale up one option from "English (United States)" to "English (United Kingdom)" and the YYYY-MM-DD format will appear among the choices.






                      share|improve this answer
























                      • Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                        – patricktokeeffe
                        Jun 9 '15 at 22:44
















                      1














                      Custom formats are the obvious solution.



                      If you don't want to let go of the mouse, you can scroll the locale up one option from "English (United States)" to "English (United Kingdom)" and the YYYY-MM-DD format will appear among the choices.






                      share|improve this answer
























                      • Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                        – patricktokeeffe
                        Jun 9 '15 at 22:44














                      1












                      1








                      1







                      Custom formats are the obvious solution.



                      If you don't want to let go of the mouse, you can scroll the locale up one option from "English (United States)" to "English (United Kingdom)" and the YYYY-MM-DD format will appear among the choices.






                      share|improve this answer













                      Custom formats are the obvious solution.



                      If you don't want to let go of the mouse, you can scroll the locale up one option from "English (United States)" to "English (United Kingdom)" and the YYYY-MM-DD format will appear among the choices.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jun 9 '15 at 22:42









                      patricktokeeffepatricktokeeffe

                      23128




                      23128













                      • Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                        – patricktokeeffe
                        Jun 9 '15 at 22:44



















                      • Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                        – patricktokeeffe
                        Jun 9 '15 at 22:44

















                      Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                      – patricktokeeffe
                      Jun 9 '15 at 22:44





                      Op, the 'custom' list does include at least one ISO format: yyyy-mm-dd;@ (Excel 2013)

                      – patricktokeeffe
                      Jun 9 '15 at 22:44











                      1














                      There's a MUCH easier, safer way to do this:



                      In dates, just change your locale to Australia and poof! ANSI standard dates are available AND if you're in the US, Canada, Australia, or New Zealand, it doesn't monkey with your currency format, as all those countries all use the $ symbol.



                      Why--in their infinite wisdom--Microsoft doesn't make this available to ALL locales is a mystery, but it has been this way for years.






                      share|improve this answer




























                        1














                        There's a MUCH easier, safer way to do this:



                        In dates, just change your locale to Australia and poof! ANSI standard dates are available AND if you're in the US, Canada, Australia, or New Zealand, it doesn't monkey with your currency format, as all those countries all use the $ symbol.



                        Why--in their infinite wisdom--Microsoft doesn't make this available to ALL locales is a mystery, but it has been this way for years.






                        share|improve this answer


























                          1












                          1








                          1







                          There's a MUCH easier, safer way to do this:



                          In dates, just change your locale to Australia and poof! ANSI standard dates are available AND if you're in the US, Canada, Australia, or New Zealand, it doesn't monkey with your currency format, as all those countries all use the $ symbol.



                          Why--in their infinite wisdom--Microsoft doesn't make this available to ALL locales is a mystery, but it has been this way for years.






                          share|improve this answer













                          There's a MUCH easier, safer way to do this:



                          In dates, just change your locale to Australia and poof! ANSI standard dates are available AND if you're in the US, Canada, Australia, or New Zealand, it doesn't monkey with your currency format, as all those countries all use the $ symbol.



                          Why--in their infinite wisdom--Microsoft doesn't make this available to ALL locales is a mystery, but it has been this way for years.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 16 '17 at 17:06









                          KevinKevin

                          191




                          191






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f409896%2fhow-do-i-enter-dates-in-iso-8601-date-format-yyyy-mm-dd-in-excel-and-have-exc%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                              Alcedinidae

                              RAC Tourist Trophy