kradclayton
New Member
- Joined
- Oct 2, 2020
- Messages
- 11
- Office Version
- 365
- Platform
- Windows
Hi!
I am wondering if there is a way to build upon the function in excel where you can remove a certain character from cells, but ignore a word that has that character.
The situation is that for a company i database for, they have to use colourways in a specific format in one part of the database but different in another.
Example - greens|blues|greys
In the second part of the databasing we have to remove the "s" from the colours. This is simple with the following formula - =SUBSTITUTE(B3,"s","")
This would leave me with green|blue|grey which is what i need.
However, my dilemma comes to when we name a colourway "sand" - ie sands|greens
If i use the above formula it would return and|green because it removes the s.
Can you use a if statement to stop it removing the s from sands?
Thanks!
I am wondering if there is a way to build upon the function in excel where you can remove a certain character from cells, but ignore a word that has that character.
The situation is that for a company i database for, they have to use colourways in a specific format in one part of the database but different in another.
Example - greens|blues|greys
In the second part of the databasing we have to remove the "s" from the colours. This is simple with the following formula - =SUBSTITUTE(B3,"s","")
This would leave me with green|blue|grey which is what i need.
However, my dilemma comes to when we name a colourway "sand" - ie sands|greens
If i use the above formula it would return and|green because it removes the s.
Can you use a if statement to stop it removing the s from sands?
Thanks!