ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   5th Char in a cell (https://www.excelbanter.com/excel-worksheet-functions/255747-5th-char-cell.html)

enna49

5th Char in a cell
 
Hi
I know this is simple, and I know I should know it, but I cannot get it to
work and I have searched Help and the answers seem more complicated than what
I really want.

I have a Col that can have a number of codes with varying lengths. What I
want to do is extract the 5(Fifth) Char from each Cell.
eg
ABCD
ABCDEFGH
ABCDE
ABCDEF
ABCDEFGHIJK

Thanking you once again


Jacob Skaria

5th Char in a cell
 
Try

=MID(A1,5,1)

--
Jacob


"enna49" wrote:

Hi
I know this is simple, and I know I should know it, but I cannot get it to
work and I have searched Help and the answers seem more complicated than what
I really want.

I have a Col that can have a number of codes with varying lengths. What I
want to do is extract the 5(Fifth) Char from each Cell.
eg
ABCD
ABCDEFGH
ABCDE
ABCDEF
ABCDEFGHIJK

Thanking you once again


David Biddulph[_2_]

5th Char in a cell
 
You need the MID function. You'll find it in Excel help.
--
David Biddulph


enna49 wrote:
Hi
I know this is simple, and I know I should know it, but I cannot get
it to work and I have searched Help and the answers seem more
complicated than what I really want.

I have a Col that can have a number of codes with varying lengths.
What I want to do is extract the 5(Fifth) Char from each Cell.
eg
ABCD
ABCDEFGH
ABCDE
ABCDEF
ABCDEFGHIJK

Thanking you once again




enna49

5th Char in a cell
 
Thank you, Thank you.
Sometimes we try to make things more difficult that what they are.
Anne

"Jacob Skaria" wrote:

Try

=MID(A1,5,1)

--
Jacob


"enna49" wrote:

Hi
I know this is simple, and I know I should know it, but I cannot get it to
work and I have searched Help and the answers seem more complicated than what
I really want.

I have a Col that can have a number of codes with varying lengths. What I
want to do is extract the 5(Fifth) Char from each Cell.
eg
ABCD
ABCDEFGH
ABCDE
ABCDEF
ABCDEFGHIJK

Thanking you once again



All times are GMT +1. The time now is 09:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com