Date time format issue

MDuff

Well-known Member
Joined
Dec 29, 2002
Messages
529
Office Version
  1. 365
Platform
  1. Windows
Hi all I am getting this import out of a data base that formats the time as m/d/yy HH:MM AM/PM and I need to convert this to HH:MM AM/PM with no date attached linked to it . I have tried the following formula but it is not working on all cells (see Example below) any ideas on a formula or VBA to fix this issue
I have tried both =ABS(RIGHT(B5,7)) and =ABS(RIGHT(B5,8))

thanks in advance
Moto IDP.xls
ABCD
1Routing SetStart TimeFC SL %SL %
212:00 AM11/29/05 12:00 AM
3##################11/29/05 12:30 AM
4##################11/29/05 1:00 AM
51:30 AM11/29/05 1:30 AM
MO-DS RawData
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try this formula

=B2-INT(B2)

If Excel is recognizing the values in column B as date/times then that should strip out the integer part, which represents the date and leave the decimal part that represents the time.
 
Upvote 0
Sorry to waste everyones time Calc Was set to manaual
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

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