![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 18
|
I have some cells that look like this after using the concatenate function:
101-P T -200 102-L T -201 103-MOV-202 What I'm trying to do is get all the cells to display the tags with no spaces in them (like the MOV tag). I tried using the TRIM function but it leaves one space between the letters. Is there something similar to TRIM that would take all of the spaces out? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
See the Help topic for the SUBSTITUTE worksheet function.
Hint: change " " to "". |
|
|
|
|
|
#3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MrExcel MVP
Join Date: Mar 2002
Location: Kobe, Japan
Posts: 1,420
|
Hi Mr. Guy,
The answer is see columns "G" of following.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|