Time formatting

jimmyjimmyv

New Member
Joined
Jun 20, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet that is generated nightly by our ERP system and I think the timestamps are being entered in 2 different way, or something? When I try to pivot the table, I can't group the time nor sort it by time. I've tried every different time format but nothing seems to work. I think some of the cells may have leading spaces maybe? I'm hoping someone can point me in the direction to reformat this data so I can use it in a group, or at least sort it by time. Thank you so much if you're able to help.

Daily Scrap Report 01-23.xlsx
AB
1TimeQty
2 3:02:35 PM1
3 8:24:35 AM633
4 8:24:54 AM572
5 4:23:09 PM55
6 9:57:14 AM53
7 6:51:49 AM34
812:04:28 AM130
912:02:20 AM130
10 6:57:18 PM538
11 2:32:31 PM84
12 2:58:42 AM135
1310:22:44 AM138
14 3:34:56 AM379
15 1:41:39 AM84
1612:15:25 AM270
17 8:03:35 PM1,775
18 2:20:50 PM20
1912:29:14 PM119
20 6:38:15 AM12
21 8:21:13 AM48
22 2:46:08 PM47
23 6:33:52 AM21
24 2:49:08 PM14
25 2:34:54 PM5
26 2:27:55 PM82
2712:37:04 PM53
2810:01:48 AM270
Sheet2
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,123
Members
452,381
Latest member
Nova88

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