Forum Discussion
Lawrence_Lam_320
Jan 16, 2026Copper Contributor
is it possible to capture HH:MM from the cell in text format DD-MM-YYYY HH:MM
Hi Expertise,
Need you help again. I need to capture the HH:MM from another cell DD-MM-YYYY HH:MM (text format) as below
From 16-01-2026 00:30 (text format)
To 24:30 (HH:MM format)
Regards
Lawrence
1 Reply
- LorenzoSilver Contributor
The problem is you have a single date in "16-01-2026 00:30". So calculating cumulated hours as you expect is - in principle not possible - not making an assumption like below:
in B1 with you text value in A1:
=VALUE( A1 ) - ( DATEVALUE( A1 ) -1 )and format B1 with Custom Number: [hh]:mm