How to extract hour and minte from cell

djaenike

New Member
Joined
Nov 5, 2017
Messages
16
Hello,

I have a spreadsheet that gets sent to me every day. The time values are displayed as follows: "Sat 12:00 AM", "Sat 12:01 AM", etc. I would like to figure out a way to extract just the time (get rid of the "Sat"). I've tried using the conventional time extraction formulas, however it looks like the "Sat" portion throws everything off. Is there a way I can extract just the time?

Thanks!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try (format cells for Time):
Excel Workbook
AB
1Sat 12:00 AM12:00 AM
2Sat 12:01 AM12:01 AM
3Sun 1:00 pm1:00 PM
4Sun 2:30 pm2:30 PM
Sheet
 
Upvote 0
Hi,

If the data that was sent to you are Real time values, you can just change the formatting, otherwise, if they are Text, you can extract it, here're some samples:


Book1
ABCDE
1Sat 12:01 AMA1 formatted ddd hh:mm AM/PM
212:01 AMA2 formatted hh:mm AM/PM
3Sat 12:01 AMA3 formatted General/Text12:01 AMD3 formatted as Time
Sheet3
Cell Formulas
RangeFormula
D3=MID(A3,5,255)+0
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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