Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
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



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
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






  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How many characters can go into a single cell in Excel? Pat Taddeo Excel Discussion (Misc queries) 1 February 6th 07 08:41 PM
can't install CD from Excel 2003 step by step djclark New Users to Excel 0 February 9th 06 11:31 PM
How do I protect a single cell in Excel 2002? Sue G. Excel Discussion (Misc queries) 1 February 5th 06 07:14 PM
how do i step thru a text field looking for 6 numeric characters Snookman150 Excel Worksheet Functions 0 June 30th 05 01:31 PM
I need step by step instructions to create a macro for 10 imbedde. diana Excel Worksheet Functions 3 January 31st 05 01:56 AM


All times are GMT +1. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"