![]() |
Delete everything from a certain word onwards
In some of about 5000 cells (all in column A) containing words and numbers
there is a certain word, for instance feb. How do I delete everything that is located on the right side of feb? The word feb can be foumd anywhere in a cell. |
Delete everything from a certain word onwards
Highlight all cells you want, go to Find (Ctrl+F) find Feb* replace with Feb
"Thomas" wrote: In some of about 5000 cells (all in column A) containing words and numbers there is a certain word, for instance feb. How do I delete everything that is located on the right side of feb? The word feb can be foumd anywhere in a cell. |
Delete everything from a certain word onwards
Hi,
To do it in the same column requires Vb but to extract it to another column use this and drag down =LEFT(A1,SEARCH("feb",A1)+2) Mike "Thomas" wrote: In some of about 5000 cells (all in column A) containing words and numbers there is a certain word, for instance feb. How do I delete everything that is located on the right side of feb? The word feb can be foumd anywhere in a cell. |
Delete everything from a certain word onwards
Hi,
If all your entries are in the same case =LEFT(A1,FIND("Feb",A1)+2) where Feb is entered in the same case as the data in column A. Another formula that works but is longer =REPLACE(A1,FIND("Feb",A1)+3,99,"") -- If this helps, please click the Yes button Cheers, Shane Devenshire "Thomas" wrote: In some of about 5000 cells (all in column A) containing words and numbers there is a certain word, for instance feb. How do I delete everything that is located on the right side of feb? The word feb can be foumd anywhere in a cell. |
Delete everything from a certain word onwards
Thank you all very much.
I got much more than expected... Thanks again... |
All times are GMT +1. The time now is 02:16 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com