Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue
 
Posts: n/a
Default Extracting a character from a string of characters

I would like to extract the 6th character (the 5) from the following example
of a string of characters e.g.B123456789.


  #2   Report Post  
Don Guillett
 
Posts: n/a
Default Extracting a character from a string of characters

Have a look in HELP index for MID

--
Don Guillett
SalesAid Software

"Sue" wrote in message
...
I would like to extract the 6th character (the 5) from the following

example
of a string of characters e.g.B123456789.




  #3   Report Post  
Naz
 
Posts: n/a
Default Extracting a character from a string of characters

If its always the 6th character use MID
i.e. if B123456789 was in cell A1

=MID(a1,6,1)


--

_______________________
Naz,
London


"Sue" wrote:

I would like to extract the 6th character (the 5) from the following example
of a string of characters e.g.B123456789.


  #4   Report Post  
RagDyeR
 
Posts: n/a
Default Extracting a character from a string of characters

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!
================================================== ===


"Sue" wrote in message
...
I would like to extract the 6th character (the 5) from the following example
of a string of characters e.g.B123456789.



  #5   Report Post  
Pan
 
Posts: n/a
Default Extracting a character from a string of characters


=mid(The String,6,1)


--
Pan
------------------------------------------------------------------------
Pan's Profile: http://www.excelforum.com/member.php...o&userid=28144
View this thread: http://www.excelforum.com/showthread...hreadid=480398



  #6   Report Post  
CLR
 
Posts: n/a
Default Extracting a character from a string of characters

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


"Sue" wrote in message
...
I would like to extract the 6th character (the 5) from the following

example
of a string of characters e.g.B123456789.




  #7   Report Post  
CLR
 
Posts: n/a
Default Extracting a character from a string of characters

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



"Sue" wrote in message
...
I would like to extract the 6th character (the 5) from the following

example
of a string of characters e.g.B123456789.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove all characters following the first character in a string RC Excel Discussion (Misc queries) 5 August 30th 05 03:17 AM
select a string of characters Did Excel Worksheet Functions 7 August 17th 05 04:24 AM
Setting character attributes in a text string Greg Neill Excel Worksheet Functions 1 June 15th 05 08:47 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM


All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"