Question: In column A are some things that look like datetimes (but are actually text) that were exported from some information system. You'd like to figure

In column A are some things that look like datetimes (but are actually text) that were exported from some information system. You'd like to figure out which half hour "bin" of the day each of these timestamps falls into. In column B I'm showing you what the answer looks like. You'll notice that a time bin of 8:30 means that the timestamp was between 8:30-9:00 (left inclusive, right not inclusive). You should also note that the values in column B are valid Excel time values - they are NOT text. Your job is to create a formula in column C that returns the correct Excel time bin as shown in column B. Obviously you CANNOT use column B in your formula; you can only use column A. Your formula MUST return an Excel time value, NOT text.

TextDateTime excel_time_bin Your formulas
01-JUN-2018 08:36 AM 8:30
01-JUN-2018 08:37 AM 8:30
02-JUN-2018 11:55 AM 11:30
02-JUN-2018 15:47 PM 15:30
03-JUN-2018 10:35 AM 10:30
03-JUN-2018 18:36 PM 18:30
03-JUN-2018 20:42 PM 20:30
03-JUN-2018 23:44 PM 23:30
04-JUN-2018 19:12 PM 19:00
05-JUN-2018 04:20 AM 4:00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!