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
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,627
Messages
5,838,444
Members
430,548
Latest member
hh_dh2001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top