Extracting a character from a string of characters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to extract the 6th character (the 5) from the following example
of a string of characters e.g.B123456789.
 
To be different, try this:

=RIGHT(LEFT(A1,6))

OR,
To be conventional:

=MID(A1,6,1)
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================


I would like to extract the 6th character (the 5) from the following example
of a string of characters e.g.B123456789.
 
IN addition to the formula answers given, you can also do this by using the
data > TextToColumns feature........and set the column breakes where you
wish, then, if desired, you can later concatenate the string back together
without the old 6th character.......or change it if desired.

Vaya con Dios,
Chuck, CABGx3
 
This will allow you to change the 6th character to whatever value is in cell
F1............

=LEFT(A1,5)&F1&MID(A1,7,99)

Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top