LibreOffice Calc: extract part of a cell
Solved
barnabe0057
Posted messages
14431
Registration date
Status
Contributeur
Last intervention
-
Francois78000 Posted messages 2 Status Membre -
Francois78000 Posted messages 2 Status Membre -
Hello,
I'm looking for a way to extract part of a cell value, let me explain:
In a spreadsheet, I have a column containing values like l+k://coordinates?16418,15949&20
the numbers 16418 and 15949 represent x and y coordinates, I would like to extract them and put them next door in two separate columns named x coordinate and y coordinate.
I'm using LibreOffice 3.6.5.2
Thank you in advance for your help.
Configuration: Win 7 Pro 64bits
Athlon 4800+ Dual Core
2 GB DDR2 800 MHz
I'm looking for a way to extract part of a cell value, let me explain:
In a spreadsheet, I have a column containing values like l+k://coordinates?16418,15949&20
the numbers 16418 and 15949 represent x and y coordinates, I would like to extract them and put them next door in two separate columns named x coordinate and y coordinate.
I'm using LibreOffice 3.6.5.2
Thank you in advance for your help.
Configuration: Win 7 Pro 64bits
Athlon 4800+ Dual Core
2 GB DDR2 800 MHz
4 réponses
Comment automatiser votre formule sur l'ensemble de ma colonne ?
Parce que je ne me vois pas taper la formule 10 000 fois :
B2=RIGHT(A2, 5)
B3=RIGHT(A3, 5)
B4=RIGHT(A4, 5)
etc ...
Parce que je ne me vois pas taper la formule 10 000 fois :
B2=RIGHT(A2, 5)
B3=RIGHT(A3, 5)
B4=RIGHT(A4, 5)
etc ...
I have a similar problem to Barnabe0057, except that I don't have the same constant elements:
/formation-petite-enfance-Vieux-port-27680
/formation-petite-enfance-Villaines-la-juhel-53700
The constant element is the 5 digits that are always at the end of the line,
I would like to extract these 5 digits (they are always 5) at the end of the line and copy them to the next column.
Just enter the formula =RIGHT(A1,5) in B1 and drag down.
If an unwanted space is disrupting the text at the beginning or end, use the formula:
=RIGHT(TRIM(A1),5)