xcellrodeo
Board Regular
- Joined
- Oct 27, 2008
- Messages
- 206
Dear Mr Excel Community, I would like to request some help with removing spaces.
I have a data file which is a download .csv file which comes with alot of spaces between strings.
Having searched for solutions I have found some suggestions using the TRIM function.
This however appears to only remove leading/trailing spaces NOT the spaces between the words/nr.
What I need though is the removal of ALL spaces such as the following:
Example: STORE SPEND SEP-16
Outcome: STORESPENDSEP-16
Does anyone have an idea how this could be done?
Lastly, what I am looking for is 2 things:
1) a formula to achieve this cell by cell
2) a VBA code to do a complete column
Thanks all
I have a data file which is a download .csv file which comes with alot of spaces between strings.
Having searched for solutions I have found some suggestions using the TRIM function.
This however appears to only remove leading/trailing spaces NOT the spaces between the words/nr.
What I need though is the removal of ALL spaces such as the following:
Example: STORE SPEND SEP-16
Outcome: STORESPENDSEP-16
Does anyone have an idea how this could be done?
Lastly, what I am looking for is 2 things:
1) a formula to achieve this cell by cell
2) a VBA code to do a complete column
Thanks all