• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combining 3 columns: Date, 12 hour time and am/pm

jassybun

Member
I am trying to combine 3 columns, column a: 1/2/2019, column b: 09:45, and column c: am/pm. Midnight would be 12:00, AM and Noon is 12:00, PM.

I need to subtract it from another column which already has the date time in the format mm/dd/yyyy hh:mm:ss am/pm.
 
Last edited:
D2: =A2+TIMEVALUE(B2)+IF(C2="PM",0.5,0)
Then apply a Custom Number format to D2 of: mm/dd/yyyy hh:mm:ss AM/PM
Then copy down

A2 is a Date
B2 is Text
 
Back
Top