Time between date/time

JWSafe

New Member
Joined
Dec 13, 2023
Messages
10
Office Version
  1. 365
Platform
  1. MacOS
Hi There,
I can't work this out!
this is the data set I am working with and it's basic testing times for each test.
I'm try to work out the time difference between each test.
I think I'm struggling with formatting.

The main issue I'm having is when I'm Text to Columns it's converting the 'pm' times from 1pm to am.

Help is appreciated.
 

Attachments

  • Screenshot 2024-02-15 at 2.51.59 pm.png
    Screenshot 2024-02-15 at 2.51.59 pm.png
    74.7 KB · Views: 18
Maybe another option:
If your dates in column A are actual Date Time values (not text) example in B2 below.
If column A is text then example in B4 below.

Book1
ABC
1Date / TimeTime
22/14/2024 15:123:12 PM A2 is actual Date-Time value
3
42/14/2024 15:123:12 PM A4 is text
Sheet4
Cell Formulas
RangeFormula
B2B2=A2-INT(A2)
B4B4=TEXTAFTER(A4," ")*1
 
Upvote 0

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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