answersLogoWhite

0


Best Answer

It really depends on what you want to do when you say you want to remove characters at the end. Factors like how many characters you want to remove would be important to know. There are various functions that would be of use such as LEN, LEFT, RIGHT and MID, amongst others. As a random example, say you have text in E9 that you want to trim and then remove just the last character from, you could do this:

=LEFT(TRIM(E9),LEN(TRIM(E9))-1)

It gets the trimmed version of the text, finds its length and starting from the left takes the amount of characters that is one less than the length, and so leaves out the last character. Whatever text you put into cell E9, regardless of its length and how many spaces are around it, it will achieve its purpose. So by using some of the Text functions available in Excel, you could do something like what you are saying. You just need to experiment with the functions and then combine them, as in the example.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In Excel how do you TRIM a string then remove characters at the end of the string within the same cell?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the value of an alembic Excel 5 string bass?

what is the value of an alembic excel 5 string bass


What are excel characters?

excel characters are symbols like @ instead of using the word at.


What are the wildcard characters in Excel?

The * and ? and ~ are the three wildcard symbols in Excel.


The Find and Replace dialog box in excel can be used to search for and replace?

You can use this feature to find and replace any string (text and/or numbers) or portion of a string in your spreadsheet. However, exercise a little caution as you can potentially alter something you didn't intend to! See the excel help file for further information.


What are differences between replace and substitute Microsoft Excel functions?

The Replace function replaces part of a text string, based on the number of characters you specify, with a different text string. The Substitute function substitutes newtext for old text in a text string. You use Substitute when you want to replace specific text in a text string and you use Replace when you want to replace any text that occurs in a specific location in a text string.


How do you return part of a cell in Excel?

You can use the LEFT, MID, or RIGHTfunctions to return parts of a cell in Excel.LEFT(text,number_of_characters)text = the string or cell address that you wish to extract fromnumber_of_characters = the number of characters that you wish to extract starting from the left-most characterMID(text,start_position,number_of_characters)text = the string or cell address that you wish to extract fromstart_position = position in the string that you will begin extracting from (first position in the string is 1)number_of_characters = number of characters that you wish to extractLEFT(text,number_of_characters)text = the string or cell address that you wish to extract fromnumber_of_characters = number of characters that you wish to extract starting from the left-most character


How many characters can Excel remember?

256


What are special characters?

in excel workbook these are symbols.


What are characters called in Microsoft Excel?

A possible answer is text, numbers, and special characters.


In Excel a number can contain what characters?

In Excel, a number can contain be characters


How you separate characters from the right in excel?

Text to column


What is the approximate width of a cell in Excel?

8.43 characters