ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Deleting Text (https://www.excelbanter.com/new-users-excel/217111-deleting-text.html)

Felix

Deleting Text
 
I know that with "&" I can add two text cells together.

How do I get rid of text?

In the example "Roddick, Andy (USA) " in A2, I want to get rid of "(USA)
". I can separate with "=right(A1,7)", the last seven characters, but how to
"subtract" them from within A2"

Felix

Gary''s Student

Deleting Text
 
In an un-used cell, enter:

=LEFT(A2,LEN(A2)-7) then copy this cell and
paste/special/value back onto A2
--
Gary''s Student - gsnu200827


"Felix" wrote:

I know that with "&" I can add two text cells together.

How do I get rid of text?

In the example "Roddick, Andy (USA) " in A2, I want to get rid of "(USA)
". I can separate with "=right(A1,7)", the last seven characters, but how to
"subtract" them from within A2"

Felix



All times are GMT +1. The time now is 06:22 PM.

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