ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Replace or Remove (https://www.excelbanter.com/excel-discussion-misc-queries/224729-re-replace-remove.html)

MVP

Replace or Remove
 
Another method, assuming all the text is in a single cell (or column) is to
use the "text to columns" tool in the data category. When you open the tool,
select "delimited" and then "next". Click on the comma delimiter and then
"next". The text will be broken into two (or more) columns at the comma(s).
Select the format of the column you want to keep (general, text, etc.). For
the data you want to drop, select the "do not import column" option.
--
mvp


"Kiannie" wrote:

I want to remove all text after the comma,

example :

abc, fjosjfojf
cake, lkd;lkdfdl;kfd
food, fkfjuwrasndasm

How to remove all the test after the comma ?



All times are GMT +1. The time now is 01:39 PM.

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