View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Excel 2002: Single step of selecting characters

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

On May 1, 2:57 pm, Mr. Low wrote:
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

--
A36B58K641