Remove a character and transfer it to another cell

pellaras2011

New Member
Joined
Mar 23, 2011
Messages
4
Hi guys,

I would like you to help me a bit please. I have an excel spreadsheet with lots of data, and I would like to remove a character from a cell and transfer it to another cell. Or at least copy it to another cell and then just use replace to delete the character.
But the problem is that I want to remove the 5th character.
So lets say I want to remove the 5th character from the cell A1 and place it in A2. Or for simplicity just copy the fifth character of A1 to A2 and then use replace to delete it.

Can anybody please help me with that because I am seriously stacked?

Thanks
 

Some videos you may like

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

mancemonster

Board Regular
Joined
Feb 24, 2011
Messages
89
Hi,

Are the number of characters in the cells all the same??

if so, to remove the number 5 from 123456789

=LEFT(A1,4)&RIGHT(A1,4)

There's probably a neater solution though..

Regards
 

mancemonster

Board Regular
Joined
Feb 24, 2011
Messages
89
Aha!

Knew there would be a better way!

=REPLACE(A1,5,1,"")

Replaces from the 5th digit for only one digit with nothing!

Should do the job!


Regards
 

pellaras2011

New Member
Joined
Mar 23, 2011
Messages
4
I can remove it via replace as well, what about copying the fifth character to another cell?
 

mancemonster

Board Regular
Joined
Feb 24, 2011
Messages
89

ADVERTISEMENT

=RIGHT(LEFT(C5,5),1)
Gets you the 5th digit on its own..
 

pellaras2011

New Member
Joined
Mar 23, 2011
Messages
4
the first two work perfectly, the last one for copying the fifth character does not work! I do not know why
 

pellaras2011

New Member
Joined
Mar 23, 2011
Messages
4
it works now ;p my mistake!! thanks a lot bro!! I really appreciate it! you have done a wonderful job! 1000000 thanks
 

Watch MrExcel Video

Forum statistics

Threads
1,109,518
Messages
5,529,311
Members
409,862
Latest member
lbisacca
Top