ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   delete a keyword from cells (https://www.excelbanter.com/excel-discussion-misc-queries/227850-delete-keyword-cells.html)

Shaz

delete a keyword from cells
 
"Total" is the last word in each cell. How do I get rid of it?

Gary''s Student

delete a keyword from cells
 
Say the cells are in column A, in an un-used column enter:

=SUBSTITUTE(A1,"Total","") and copy down

You could also use a macro to do the same thing "in place"
--
Gary''s Student - gsnu200846


"Shaz" wrote:

"Total" is the last word in each cell. How do I get rid of it?


Jacob Skaria

delete a keyword from cells
 
Use SUBSTITUTE() function
--
If this post helps click Yes
---------------
Jacob Skaria


"Shaz" wrote:

"Total" is the last word in each cell. How do I get rid of it?


Dave Peterson

delete a keyword from cells
 
Select the range to fix
Edit|replace
what: Total
with: (leave blank)
replace all

And I bet you want a space character in front of that Total string.

Shaz wrote:

"Total" is the last word in each cell. How do I get rid of it?


--

Dave Peterson


All times are GMT +1. The time now is 12:33 AM.

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