Change “XX:XX:00” to “00:XX:XX”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
So I have this data directly copy/paste from iTunes :
Excel have "XX:XX:00
" format which is "hh:mm:ss
" but as you can imagine, it is more like "mm:ss:00
". Musics are not hours long !
As it's not a direct cell format problem, I couldn't find easily the answer on internet. I need sometihng to put the 2 "00
" at the start (in order to have "00:mm:ss
")
EDIT : It was a cell format comprehension problem.
excel
add a comment |
So I have this data directly copy/paste from iTunes :
Excel have "XX:XX:00
" format which is "hh:mm:ss
" but as you can imagine, it is more like "mm:ss:00
". Musics are not hours long !
As it's not a direct cell format problem, I couldn't find easily the answer on internet. I need sometihng to put the 2 "00
" at the start (in order to have "00:mm:ss
")
EDIT : It was a cell format comprehension problem.
excel
Assuming you already have11:42
, what would be wrong with"00:"&C2
?
– Tim Biegeleisen
Jan 3 at 10:34
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41
add a comment |
So I have this data directly copy/paste from iTunes :
Excel have "XX:XX:00
" format which is "hh:mm:ss
" but as you can imagine, it is more like "mm:ss:00
". Musics are not hours long !
As it's not a direct cell format problem, I couldn't find easily the answer on internet. I need sometihng to put the 2 "00
" at the start (in order to have "00:mm:ss
")
EDIT : It was a cell format comprehension problem.
excel
So I have this data directly copy/paste from iTunes :
Excel have "XX:XX:00
" format which is "hh:mm:ss
" but as you can imagine, it is more like "mm:ss:00
". Musics are not hours long !
As it's not a direct cell format problem, I couldn't find easily the answer on internet. I need sometihng to put the 2 "00
" at the start (in order to have "00:mm:ss
")
EDIT : It was a cell format comprehension problem.
excel
excel
edited Jan 3 at 12:19
mewX Max
asked Jan 3 at 10:27


mewX MaxmewX Max
176
176
Assuming you already have11:42
, what would be wrong with"00:"&C2
?
– Tim Biegeleisen
Jan 3 at 10:34
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41
add a comment |
Assuming you already have11:42
, what would be wrong with"00:"&C2
?
– Tim Biegeleisen
Jan 3 at 10:34
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41
Assuming you already have
11:42
, what would be wrong with "00:"&C2
?– Tim Biegeleisen
Jan 3 at 10:34
Assuming you already have
11:42
, what would be wrong with "00:"&C2
?– Tim Biegeleisen
Jan 3 at 10:34
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41
add a comment |
3 Answers
3
active
oldest
votes
You can just divide the cell value to 60 like so
and then choose custom format for that cell like this
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
add a comment |
Format the cell with the time (C1) as "General". If it retains its value, like 11:42, then convert it with =TimeValue(C1) and format the cell as Custom mm:ss
If it changes to something like 0.4875 then convert it with =C1/60 and format the result as Custom mm:ss
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
add a comment |
This formula should work:
="00:" & MID(TEXT(A1,"h:mm:ss"),SEARCH(":",TEXT(A1,"h:mm:ss"))+1,3) & RIGHT(TEXT(A1,"h:mm:ss"),2)
The important element is to convert the time into a text string.
- Change A1 to the first cell of Duration (Duree) & copy the formula downward
- Then, you can copy the result and paste it as values
Edit: you can also use just the right function:
="00:"&RIGHT(TEXT(A1,"h:mm:ss"),LEN(TEXT(A1,"h:mm:ss"))-SEARCH(":",TEXT(A1,"h:mm:ss")))
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.
– mewX Max
Jan 3 at 10:52
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f54020432%2fchange-xxxx00-to-00xxxx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can just divide the cell value to 60 like so
and then choose custom format for that cell like this
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
add a comment |
You can just divide the cell value to 60 like so
and then choose custom format for that cell like this
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
add a comment |
You can just divide the cell value to 60 like so
and then choose custom format for that cell like this
You can just divide the cell value to 60 like so
and then choose custom format for that cell like this
answered Jan 3 at 12:02


DautDaut
1,18511024
1,18511024
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
add a comment |
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
It works well !Asuming that excel convert 1 as 24h, I understand why 0,4875 is 11:42 and why I can just divide by 60 to have minutes instead of hours.
– mewX Max
Jan 3 at 12:15
1
1
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
@mewXMax Excel keeps 11:42 as 0.4875 in the cell (you see it as 11:42). 0.4875 / 60 = 0.008125 and that is the value of the other cell. When you format it as time, it shows 00:11:42
– Daut
Jan 3 at 12:22
add a comment |
Format the cell with the time (C1) as "General". If it retains its value, like 11:42, then convert it with =TimeValue(C1) and format the cell as Custom mm:ss
If it changes to something like 0.4875 then convert it with =C1/60 and format the result as Custom mm:ss
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
add a comment |
Format the cell with the time (C1) as "General". If it retains its value, like 11:42, then convert it with =TimeValue(C1) and format the cell as Custom mm:ss
If it changes to something like 0.4875 then convert it with =C1/60 and format the result as Custom mm:ss
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
add a comment |
Format the cell with the time (C1) as "General". If it retains its value, like 11:42, then convert it with =TimeValue(C1) and format the cell as Custom mm:ss
If it changes to something like 0.4875 then convert it with =C1/60 and format the result as Custom mm:ss
Format the cell with the time (C1) as "General". If it retains its value, like 11:42, then convert it with =TimeValue(C1) and format the cell as Custom mm:ss
If it changes to something like 0.4875 then convert it with =C1/60 and format the result as Custom mm:ss
answered Jan 3 at 10:47
VariatusVariatus
5,7351524
5,7351524
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
add a comment |
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
It will change to 0.4875 every time, if it changed 11:42 to 11:42:00
– Daut
Jan 3 at 12:07
1
1
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
Divide 0.4875 by 60 to convert hours to minutes. Then format the cell as Time.
– Variatus
Jan 3 at 12:18
add a comment |
This formula should work:
="00:" & MID(TEXT(A1,"h:mm:ss"),SEARCH(":",TEXT(A1,"h:mm:ss"))+1,3) & RIGHT(TEXT(A1,"h:mm:ss"),2)
The important element is to convert the time into a text string.
- Change A1 to the first cell of Duration (Duree) & copy the formula downward
- Then, you can copy the result and paste it as values
Edit: you can also use just the right function:
="00:"&RIGHT(TEXT(A1,"h:mm:ss"),LEN(TEXT(A1,"h:mm:ss"))-SEARCH(":",TEXT(A1,"h:mm:ss")))
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.
– mewX Max
Jan 3 at 10:52
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
add a comment |
This formula should work:
="00:" & MID(TEXT(A1,"h:mm:ss"),SEARCH(":",TEXT(A1,"h:mm:ss"))+1,3) & RIGHT(TEXT(A1,"h:mm:ss"),2)
The important element is to convert the time into a text string.
- Change A1 to the first cell of Duration (Duree) & copy the formula downward
- Then, you can copy the result and paste it as values
Edit: you can also use just the right function:
="00:"&RIGHT(TEXT(A1,"h:mm:ss"),LEN(TEXT(A1,"h:mm:ss"))-SEARCH(":",TEXT(A1,"h:mm:ss")))
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.
– mewX Max
Jan 3 at 10:52
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
add a comment |
This formula should work:
="00:" & MID(TEXT(A1,"h:mm:ss"),SEARCH(":",TEXT(A1,"h:mm:ss"))+1,3) & RIGHT(TEXT(A1,"h:mm:ss"),2)
The important element is to convert the time into a text string.
- Change A1 to the first cell of Duration (Duree) & copy the formula downward
- Then, you can copy the result and paste it as values
Edit: you can also use just the right function:
="00:"&RIGHT(TEXT(A1,"h:mm:ss"),LEN(TEXT(A1,"h:mm:ss"))-SEARCH(":",TEXT(A1,"h:mm:ss")))
This formula should work:
="00:" & MID(TEXT(A1,"h:mm:ss"),SEARCH(":",TEXT(A1,"h:mm:ss"))+1,3) & RIGHT(TEXT(A1,"h:mm:ss"),2)
The important element is to convert the time into a text string.
- Change A1 to the first cell of Duration (Duree) & copy the formula downward
- Then, you can copy the result and paste it as values
Edit: you can also use just the right function:
="00:"&RIGHT(TEXT(A1,"h:mm:ss"),LEN(TEXT(A1,"h:mm:ss"))-SEARCH(":",TEXT(A1,"h:mm:ss")))
edited Jan 3 at 11:23
answered Jan 3 at 10:38
Ali NasserEddineAli NasserEddine
17816
17816
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.
– mewX Max
Jan 3 at 10:52
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
add a comment |
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.
– mewX Max
Jan 3 at 10:52
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :
00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.– mewX Max
Jan 3 at 10:52
You can't be more right with what you said but after replacing every functions by their French brother, I have something very close of what I wanted :
00:42:00
So I think I'll be able, with your formula, to find what I wanted. When I'll have it, I'll come back in order to answer the question.– mewX Max
Jan 3 at 10:52
1
1
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
Glad it helped. I added another option to the answer because you only need the right function for the purpose.
– Ali NasserEddine
Jan 3 at 11:24
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f54020432%2fchange-xxxx00-to-00xxxx%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
Assuming you already have
11:42
, what would be wrong with"00:"&C2
?– Tim Biegeleisen
Jan 3 at 10:34
It is giving me "00:0,4875". It is a format problem (tought it wasn't but...) as the "Durée" column, in text format give me "0,4875"
– mewX Max
Jan 3 at 10:41