Abstract floored Time (hh:mm) from concatenated Date & Time yyyy.mm.dd hh:mm:ss

Bebbspoke

Board Regular
Joined
Oct 10, 2014
Messages
193
Hi; - ... should be simple; -

Col A contains Date & Time stamp as "yyyy.mm.dd. hh:mm:ss"

Please, I require Col B to contain floored hh:mm

Should be easy... nowhere can I find a sensible documentation wrt Excel syntax!!!

Cheers & thanks, Bebbspoke
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi

What do you have in column A

- string value like "yyyy.mm.dd. hh:mm:ss"
or
- date value formatted like "yyyy.mm.dd. hh:mm:ss"

Remark: you can test with =ISTEXT(A1) to check if it's a string value
 
Upvote 0
Hi pgc01 - data is formatted as date value (original source was text). I've achieved a solution: -

=TIME(HOUR(Sheet1!BB3),FLOOR(MINUTE(Sheet1!BB3),1),0)

Maybe others may find the solution helpful.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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