ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Removal of characters from a range of cells (https://www.excelbanter.com/excel-worksheet-functions/13573-removal-characters-range-cells.html)

KopRed

Removal of characters from a range of cells
 
How can you remove the last two characters from a range of cells in Excel?

James

You could use the following formula - if the data is in column B enter the
formula in the next column

=LEFT(B5,LEN(B5)-2)


"KopRed" wrote in message
...
How can you remove the last two characters from a range of cells in Excel?




CLR

You've received a good answer assuming your data might be of inconsistant
string lengths........however, if your data is consistant in nature, like
some part numbers, etc, you might can use either "Find Replace" or " Data
Text to columns" to perform the action all within the same column.

If you are interested, post back with a sample of your data in the post (not
attached) and someone will provide more details.

Vaya con Dios,
Chuck, CABGx3



"KopRed" wrote in message
...
How can you remove the last two characters from a range of cells in Excel?




KopRed


Thanks! Perfect.

"James" wrote:

You could use the following formula - if the data is in column B enter the
formula in the next column

=LEFT(B5,LEN(B5)-2)


"KopRed" wrote in message
...
How can you remove the last two characters from a range of cells in Excel?






All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com