Remove the first 2 characters in 5x700 cells
Solved
daddysnak
Posted messages
974
Registration date
Status
Member
Last intervention
-
tontong Posted messages 2575 Registration date Status Member Last intervention -
tontong Posted messages 2575 Registration date Status Member Last intervention -
Hello,
I have a file with 10 columns and 700 rows for the years 2016 to 2020.
In the 5 columns containing values, I would like to remove the € symbol and the space that follows it (i.e., 2 characters) with a single manipulation. (This is to keep the 10 columns, by 50 rows, on A4 pages)
Is it possible? Of course it is possible... the problem is that I can't find how to do it.
Who can help me? Thank you in advance.
--
The future belongs to those who get up early!
I have a file with 10 columns and 700 rows for the years 2016 to 2020.
In the 5 columns containing values, I would like to remove the € symbol and the space that follows it (i.e., 2 characters) with a single manipulation. (This is to keep the 10 columns, by 50 rows, on A4 pages)
Is it possible? Of course it is possible... the problem is that I can't find how to do it.
Who can help me? Thank you in advance.
--
The future belongs to those who get up early!
4 answers
-
Hello,
The advice from patrice33740 and eriiic is, as always, very relevant.
Ctrl+h is the Excel shortcut; Ctrl+f is the Calc shortcut; but the Edit >> Find and Replace instruction is the same.
In Calc, the options are very rich and reading the help is not redundant.
https://www.cjoint.com/c/JDulOjYqzwK -
Hello,
- Select entire columns / right-click / Format Cells
- Numbers tab / Category: Number / Decimal places 2 / Ok
--
Sincerely
Patrice
No one can hold all knowledge, that's why we share it. -
Hello,
Ctrl+h (replace)
eric
--
By continually trying, we eventually succeed.
So the more it fails, the more chances we have that it works. (the Shadoks)
In addition to the thank you (yes, it happens!!!), remember to mark as resolved. Thank you-
Good evening Eric,
I may have (definitely!) expressed myself poorly...
Example of a column with 3 cells containing 3 different values: € 0.6987; € 0.5703; € 0.6988. I want to replace this with 0.6987; 0.5703; 0.6988.
In reality, there are 5 columns with 48 different values in the 1st; 58 in the 2nd; 152 in the 3rd; 275 in the 4th; and 111 in the 5th.
That makes 644 cells to modify!
I would therefore like a function (or a macro?) that would allow me to change all these values by removing the first 2 characters (the € symbol and the space)
either at once, or by column. -
-
-
Hello everyone,
I probably didn't fully understand your suggestions, especially since tontong mentions ctrl-f and adds a caveat...
I solved my problem this morning (early) using the following method:
In cell K6, next to the last column (J), I put the formula:
=RIGHT(J6,LEN(J6)-2)
cell J6 included: € 0.6987
the result of the formula... K6 contains: 0.6987... that's what I want.
I copied/pasted this operation for the other 110 cells from column J to column K.
Then, in Edit, I used paste special to replace the formulas with the values in column K.
Finally, I moved the values from column K to column J. Result OK.
I proceeded in the same way for the other 4 columns, replacing the
letter J for the column.
It took me barely longer than to explain it to you :)
Thank you for your advice, and I'll keep the method you proposed (with the letter f) for other more individual circumstances.
Take care and... stay home :)
--
The future belongs to those who wake up early!