Excel 2002: Single step of selecting characters

M

Mr. Low

Dear Sir,

May I know is there a single step to select the characters I wanted as
follows:
(4th and 5th character from the left)

A B
PKHDJ000163 DJ
PKHCN000214 CN
PKHSB000266 SB
PKHDN000744 DN
PKHBF000456 BF

Currently I need two steps to get the answer. I am using =RIGHT(A1,5) at B1
and = RIGHT(B1,2) at C1.


Thanks

Low
 
P

Pete_UK

Try this:

=MID(A1,4,2)

This takes the middle of the string, starting with the 4th character
and taking 2 characters.

Hope this helps.

Pete
 
M

Mr. Low

Hello Max,

Thanks for your formula.

It works pretty well.


Kind Regards

Low Seng Kuang
 
Top