Music durations

Heydiddle

New Member
Joined
Apr 8, 2013
Messages
8
I am copying working with CD metadata and coming across a problem with durations. What is supplied to me is this format 0:00 and I need it to be 00:00. But every time I try to either manually change it or use custom mm:ss it comes out as a totally different number. Know this has something to do with the serial number.... Can someone help me figure this dilemma out? I have thousands of CDs to do for a publisher. Thanks!
 
So you have some that come in as 00:00 and some that come as 00:00:00 ?

Inconsistent data is the root of all evil in Excel. It really is.

Here's the problem now.
Time has 3 components, hours minutes and seconds.
If excel is presented with a time value, but only given 2 of the 3 time components,
Then it assumes this to be HOURS and MINUTES.
Basically, someone decided that a person is more likely to exclude seconds from a timevalue, instead of hours.
So 2:30 is more likely to be 2 hours and 30 minutes instead of 2 minutes and 30 seconds.

That is why formatting as hh:mm has worked.

But now if some are coming in with all 3 time components provided, then this will no longer work.


You'll need some method to tell the difference between which format has been presented to Excel.

Or even better, work with the source data so that the times are reported the same way for all records. Either 00:00 or 00:00:00, not a mixture of both.
 
Last edited:
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I fixed it!! I did a search for 00:0 and replaced it with 0 then I had to format the cell again to hh:mm thank you all!!!
 
Upvote 0
I fixed it!! I did a search for 00:0 and replaced it with 0 then I had to format the cell again to hh:mm thank you all!!!

2 things that come to mind about that......

Will you ever encounter times in excess of 1 hour? What happens in the case of (hh:mm:ss) 01:00:02, 1 hour, zero minutes, 2 seconds. Will that not convert to 1 hour, 2 minutes?

If you enter 02:54 and format the cell to hh:mm, obviously it appears as 02:54, but should it be 2min 54seconds or 2hr 54min?

Best regards
Richard
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,291
Members
449,498
Latest member
Lee_ray

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top