English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Say you have:

83642-2365

There is a formula to delete the last 5 characters...i just can't remember how! its something like =a1(left,5............. then i'm stuck! HELP!! I have lots of different numbers like this and i really dont' want to do each one by hand

2007-10-10 11:08:16 · 3 answers · asked by M B 1 in Computers & Internet Software

3 answers

Use the following formula:

=LEFT(A1,LEN(A1)-5)

I tried using combinations of other Excel functions and had trouble.

If you use SUBSTITUTE you have a potential problem if those last five characters are repeated at the beginning of the text string.

If you use REPLACE, it doesn't count spaces and can throw it off.

2007-10-11 06:34:13 · answer #1 · answered by devilishblueyes 7 · 0 0

Select the column with the data you want to change.
Go up on the menu bar and hit the button with the arrows and the .00's on it.
or
Select the cells you want to change then right click them. Then hit format, cells, numbers, and select the amount of digits after the . you want.

2007-10-10 18:14:39 · answer #2 · answered by Anonymous · 0 3

"=Left(A1,5)" will return the leftmost 5 characters

2007-10-10 18:16:51 · answer #3 · answered by Act D 4 · 0 1

fedest.com, questions and answers