View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Mr. Low Mr. Low is offline
external usenet poster
 
Posts: 505
Default Excel 2002: Single step of selecting characters

Hello Pete_UK,

Thanks for the formula.

It works pretty well.


Kind Regards

Low



--
A36B58K641


"Pete_UK" wrote:

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