There is more than one Excel function that will do what you want, since your time line is a combination of date and time. To obtain the desired result, you can combine the functions proposed by ASmith.
following the formula, he calculates the time value, which you can then format as time using the format β13:30β.
=TIMEVALUE(MID(A1,SEARCH(" ",A1)+1,SEARCH("M",A1)-SEARCH(" ",A1)))
Part of the formula MID (...) of the formula retrieves the time consisting of the character following the first space in the input line, through "M" in "AM" or "PM". The TIMEVALUE function returns the Excel value of the extracted time string, which can then be formatted.
chuff
source share