Interpret dates put into Excel as mm/dd
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.
microsoft-excel date
|
show 2 more comments
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.
microsoft-excel date
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 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 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 at 11:32
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 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 at 11:34
|
show 2 more comments
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.
microsoft-excel date
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.
microsoft-excel date
microsoft-excel date
edited Feb 11 at 13:51
Toivo Säwén
asked Feb 11 at 10:55
Toivo SäwénToivo Säwén
1012
1012
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 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 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 at 11:32
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 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 at 11:34
|
show 2 more comments
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 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 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 at 11:32
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 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 at 11:34
3
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 at 11:26
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 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 at 11:28
@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 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 at 11:32
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 at 11:32
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 at 11:33
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 at 11:33
1
1
Check this out. The link is for Excel 2016, but it's probably similar: edu.gcfglobal.org/en/excel-tips/…
– fixer1234
Feb 11 at 11:34
Check this out. The link is for Excel 2016, but it's probably similar: edu.gcfglobal.org/en/excel-tips/…
– fixer1234
Feb 11 at 11:34
|
show 2 more comments
1 Answer
1
active
oldest
votes
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.
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 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 yourlocale
vars and specify cell date format, there is chance it will get mixed up
– dmb
Feb 11 at 13:47
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404392%2finterpret-dates-put-into-excel-as-mm-dd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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 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 yourlocale
vars and specify cell date format, there is chance it will get mixed up
– dmb
Feb 11 at 13:47
add a comment |
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.
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 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 yourlocale
vars and specify cell date format, there is chance it will get mixed up
– dmb
Feb 11 at 13:47
add a comment |
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.
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.
answered Feb 11 at 13:35
dmbdmb
794312
794312
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 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 yourlocale
vars and specify cell date format, there is chance it will get mixed up
– dmb
Feb 11 at 13:47
add a comment |
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 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 yourlocale
vars and specify cell date format, there is chance it will get mixed up
– dmb
Feb 11 at 13:47
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 at 13:44
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 at 13:44
1
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 at 13:47
@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 at 13:47
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404392%2finterpret-dates-put-into-excel-as-mm-dd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 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 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 at 11:32
@fixer1234 I agree :) can't find it...
– Toivo Säwén
Feb 11 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 at 11:34