Split Cells

Discuss the spreadsheet application
Post Reply
kik94
Posts: 4
Joined: Fri Feb 08, 2019 10:44 am

Split Cells

Post by kik94 »

Hello i have spreadsheet and i have some data in column A that looks like this :

00:15
01:30
they are in time format


Now what i want is a formula so that i can split them into column B and C . In B column there will be the 1st 2 digits before ":" and in C the 2 digits after them. For example : the 00:15 in A will become 00 in B and 15 in C
the 01:30 in A will become 01 in B and 30 in C


Any idea how i could do this ? thanks in advance
Libre Office 6.1.3.2 (x64)
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Split Cells

Post by robleyd »

Look at the LEFT and MID functions.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
Lupp
Volunteer
Posts: 3549
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Split Cells

Post by Lupp »

@kik94: Once again you posted the same question in (at least) two forums without mentioning the fact and without giving links.
I already pointed you to the fact that this is considered for good reasons to be a violation of good practice.
I will not answer your requests any longer If you don't change your behaviour insofar.

See also: https://ask.libreoffice.org/en/question ... lit-cells/
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Post Reply