I have many cells that contains words "created by [empty space]" .
How to find such cells and delete only word "by" in case that there is nothing after "by".
I have many cells that contains words "created by [empty space]" .
How to find such cells and delete only word "by" in case that there is nothing after "by".
There's plenty of ways to do this. Can you post a sample workbook so we can manipulate your data?
Spread the love, add to the Rep
"None of us are as smart as all of us."
I have one column with the following pattern. How can I find rows which contains word "by [empty space]". And remove or replace word "by" in these rows.
This item created by first person Second item created by another person This Item created by Another item created by three persons Item created by These items created by fourth person
in a new column
=IF(RIGHT(A1,3)="by ",LEFT(A1,LEN(A1)-3),A1)
and copy down
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
With your text in A1:
Try:
=SUBSTITUTE(TRIM(A1)&REPT(" ",100),"by"&REPT(" ",100),"")
Quang PT
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks