ranjith2523
Board Regular
- Joined
- Apr 29, 2014
- Messages
- 137
- Office Version
- 365
Hi Friends,
Hope everyone doing good !!!
After a long time, again i am seeking experts help.
I have a data like i provided in first column in below Table.
I have applied the formula "=SUBSTITUTE(A2," ","#",1)" in cell B2 and i got the expected output in column B as expected in 3rd column for first product alone.
The cell A2 has 7 spaces and my above substitute formula has 7 spaces hence i got the result which i expected.
But my expectation is, i need a single formula which should remove all the spaces and replace with "#" as i mentioned in column C.
I hope some excel experts will help me to get the formula which i am looking for.
Thanks for all your help in advance.
Regards,
Ranjith
Hope everyone doing good !!!
After a long time, again i am seeking experts help.
I have a data like i provided in first column in below Table.
I have applied the formula "=SUBSTITUTE(A2," ","#",1)" in cell B2 and i got the expected output in column B as expected in 3rd column for first product alone.
The cell A2 has 7 spaces and my above substitute formula has 7 spaces hence i got the result which i expected.
But my expectation is, i need a single formula which should remove all the spaces and replace with "#" as i mentioned in column C.
I hope some excel experts will help me to get the formula which i am looking for.
Thanks for all your help in advance.
Regards,
Ranjith
Data | Output | Expected |
HA325A1 7WR | HA325A1#7WR | HA325A1#7WR |
HA325A1 7WR | HA325A1 7WR | HA325A1#7WR |
HA325A1 7WR | HA325A1 7WR | HA325A1#7WR |
HA325A1 7WS | HA325A1 7WS | HA325A1#7WS |
HA325A1 7X2 | HA325A1 7X2 | HA325A1#7X2 |
HA325A1 7XC | HA325A1 7XC | HA325A1#7XC |
HA325AB1 7XC | HA325AB1 7XC | HA325AB1#7XC |