Time to minutes or remove characters either way will help!!

Status
Not open for further replies.

toplad

New Member
Joined
Apr 12, 2015
Messages
19
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi guys,

Ive spent the last 2 hours trying to solve this problem and I've hit a wall. Any help would be much appreciated!!

I have this number in a cell 00:20:00 i'd like to remove the last three characters :00 iv'e tried using left and right but it doesn't work and outputs some random number and not 00:20 after striping the last 3 characters.

Basically what im trying to solve (just in case there's an easier way) is converting a list like the one below where it sometimes has the odd one with extra 00's in to minutes in the next column so 00:20 would be 20 and so on.

[TABLE="class: cms_table, width: 61"]
<tbody>[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]00:20:00[/TD]
[/TR]
[TR]
[TD]00:30[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:30
[/TD]
[/TR]
[TR]
[TD]00:30[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:30[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]00:30[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]00:20[/TD]
[/TR]
[TR]
[TD]01:05[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Status
Not open for further replies.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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