ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2002: Single step of selecting characters (https://www.excelbanter.com/excel-discussion-misc-queries/141071-excel-2002-single-step-selecting-characters.html)

Mr. Low

Excel 2002: Single step of selecting characters
 
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

Pete_UK

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




Max

Excel 2002: Single step of selecting characters
 
Use MID, eg in B1: =MID(A1,4,2)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"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


Mr. Low

Excel 2002: Single step of selecting characters
 
Hello Max,

Thanks for your formula.

It works pretty well.


Kind Regards

Low Seng Kuang

--
A36B58K641


"Max" wrote:

Use MID, eg in B1: =MID(A1,4,2)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"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


Mr. Low

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





Max

Excel 2002: Single step of selecting characters
 
You're welcome, Low.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mr. Low" wrote in message
...
Hello Max,

Thanks for your formula.

It works pretty well.


Kind Regards

Low Seng Kuang





All times are GMT +1. The time now is 10:23 PM.

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