Extract Time from Data

chaboyski

Board Regular
Joined
Aug 18, 2020
Messages
57
Office Version
  1. 2016
Platform
  1. Windows
Hi,

just wanted to ask on how i can get the time from the data below:

i would just like to get hh:mm AM/PM

Book1
ABC
1DateTimeData
28/18/1/23 9:59:17 AM CDT
38/18/1/23 10:00:57 AM CDT
48/18/1/23 10:02:22 AM CDT
58/118/11/23 9:55:37 AM CDT
68/118/11/23 10:01:46 AM CDT
78/118/11/23 10:04:18 AM CDT
88/118/11/23 10:12:23 AM CDT
Sheet1
Cell Formulas
RangeFormula
A2:A8A2=DATEVALUE(LEFT(C2,FIND(" ",C2)))


thank you in advance
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
See if the following formula works for you:
Excel Formula:
=TIMEVALUE(SUBSTITUTE(C2," CDT",""))
 
Upvote 1
Solution

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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