Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Removing Words from Cell
Hello - I have been able to successfully remove words (shown in column B) from a cell (in column A) using the below formula.
So for example, if Cell A2 Contains "Action Toy Figure" and Cell B2 contains "Toy", then the formula =SUBSTITUTE(A2,B2,"") would produce the desired result of "Action Figure" However, the problem I am encountering is that the case (i.e., Proper, Lower, or sometimes a unique Upper case letter in the middle of the words that I am trying to remove) prevents the formula from actually finding the words in the cell. Is there possibly another way (or improvement to this formula) that would allow me to simply remove text from a cell, regardless of the case of the text in either cell. =SUBSTITUTE(A2,B2,"") Thanks for any suggestions. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Removing Words from Cell
Hi James,
Am Thu, 30 Aug 2018 13:04:02 -0700 (PDT) schrieb James: So for example, if Cell A2 Contains "Action Toy Figure" and Cell B2 contains "Toy", then the formula =SUBSTITUTE(A2,B2,"") would produce the desired result of "Action Figure" However, the problem I am encountering is that the case (i.e., Proper, Lower, or sometimes a unique Upper case letter in the middle of the words that I am trying to remove) prevents the formula from actually finding the words in the cell. try: =SUBSTITUTE(PROPER(A2),PROPER(B2),) Regards Claus B. -- Windows10 Office 2016 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Removing vowels from words... | Excel Programming | |||
Removing words from a string? | Excel Programming | |||
removing a space between words in a cell | Excel Worksheet Functions | |||
removing cells with certain words in it | Excel Programming | |||
removing words/phrase from sentences | Excel Programming |