0

I would like to input dates in an Excel worksheet using Swedish format dd/mm, however Excel interprets this as mm/dd. That is, writing "7/8" in a cell is converted into Excel date (2019-07-08, YYYY-MM-DD). Other questions asked refer to changing mm/dd/yyyy to dd/mm/yyyy, which can be done through Windows settings, however I can't find a way of changing the mm/dd format.

A string based solution would work as suggested in some answers, however the reason I am asking is because I was manually inputting dates from a list of dates in dd/mm format, and it was annoying to have to twist every date in my head, or (while it would obviously work and be more robust) to have to set up e.g. two columns for month and day.

  • 3
    Check Excel's locale setting. If that's set to Sweden's standard, it should accept dates in dd/mm rather than mm/dd. Once the dates are understood correctly, you can play with the format to display it the way you want. – fixer1234 Feb 11 '19 at 11:26
  • @fixer1234 I followed this guide: webucator.com/how-to/how-set-locale-microsoft-excel.cfm, Locale (in my Swedish Excel it says "Language") is set to Swedish, still doesn't work. Can I change Locale setting someplace else? – Toivo Säwén Feb 11 '19 at 11:28
  • I don't have ready access to Excel, but that link looks like it deals with just the display format. There should be application settings in the main menu with a locale setting that controls how Excel views everything. – fixer1234 Feb 11 '19 at 11:32
  • @fixer1234 I agree :) can't find it... – Toivo Säwén Feb 11 '19 at 11:33
  • 1
    Check this out. The link is for Excel 2016, but it's probably similar: edu.gcfglobal.org/en/excel-tips/… – fixer1234 Feb 11 '19 at 11:34
0

You can always set it like a string, which can be more convenient and less convenient depending on your case

Let's say you have the date you want in one column, "B" for this example(you cna hide it), you would do the following:

=Text(day("B2");"00")&"/"&text(month("B2");"00")

Excel is very picky about dates in formats different from us dates "mm/dd/yyyy"(and variations), internally it will try to convert any date if it fits the US date template. I have been bited by this more than a couple of times, because we use "dd/mm/yyyy" in my country so with dates like "01/04/2018" excel sometimes goes nuts.

| improve this answer | |
  • Yes, this would work. The reason I am asking is because I was manually inputting dates from a list of dates in dd/mm format, and it was annoying to have to twist every date in my head, or (while it would obviously work and be more robust) to have to set up e.g. two columns for month and day. – Toivo Säwén Feb 11 '19 at 13:44
  • 1
    @ToivoSäwén Sorry didn't get that from the question. Anyway Excel is not that nice with other date formats. Even if you set up your locale vars and specify cell date format, there is chance it will get mixed up – dmb Feb 11 '19 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.