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 : How to remove the digits from original reference ?

Dear Sir,

May I know what formula I must input at cell B1 to remove the last 3 and the
first 3 digits of the reference number in column A as illustrated?


1. To remove last 3 digits

A B
Before After
0410003003 0410003
0411923001 0411923
0411924002 0411924


2. To remove first 3 digits

A B
Before After
0409596001 9596001
0409596002 9596002
0409596003 9596003


Thanks

Low




--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default Excel 2002 : How to remove the digits from original reference ?

To remove the last three digits, assuming your "before" entry is in
cell A1:
=MID(A1,1,LEN(A1)-3)

To remove the first three digits, assuming your "before" entry is in
cell A2:
=MID(A2,4,LEN(A2))


Dave O

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Excel 2002 : How to remove the digits from original reference ?

=LEFT(A1,7) 'Remove last 3
=RIGHT(A1,7)'Remove First 3
"Mr. Low" wrote:

Dear Sir,

May I know what formula I must input at cell B1 to remove the last 3 and the
first 3 digits of the reference number in column A as illustrated?


1. To remove last 3 digits

A B
Before After
0410003003 0410003
0411923001 0411923
0411924002 0411924


2. To remove first 3 digits

A B
Before After
0409596001 9596001
0409596002 9596002
0409596003 9596003


Thanks

Low




--
A36B58K641

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Excel 2002 : How to remove the digits from original reference ?

Hi Mr. Low,
To remove the first and the last 3 digits of the number in a cell eg. cell
A2, use this formula:

=LEFT(RIGHT(A2;(LEN(A2)-3));(LEN(A2)-6))



"Mr. Low" wrote:

Dear Sir,

May I know what formula I must input at cell B1 to remove the last 3 and the
first 3 digits of the reference number in column A as illustrated?


1. To remove last 3 digits

A B
Before After
0410003003 0410003
0411923001 0411923
0411924002 0411924


2. To remove first 3 digits

A B
Before After
0409596001 9596001
0409596002 9596002
0409596003 9596003


Thanks

Low




--
A36B58K641

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002 : How to remove the digits from original reference

Hello Mike,

Yes, it works fine.

Many thanks

Low


--
A36B58K641


"Mike" wrote:

=LEFT(A1,7) 'Remove last 3
=RIGHT(A1,7)'Remove First 3
"Mr. Low" wrote:

Dear Sir,

May I know what formula I must input at cell B1 to remove the last 3 and the
first 3 digits of the reference number in column A as illustrated?


1. To remove last 3 digits

A B
Before After
0410003003 0410003
0411923001 0411923
0411924002 0411924


2. To remove first 3 digits

A B
Before After
0409596001 9596001
0409596002 9596002
0409596003 9596003


Thanks

Low




--
A36B58K641



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002 : How to remove the digits from original reference

Hello Dave,

Thank you for the formula.

It works well.

Kind Regars

Low

--
A36B58K641


"DaveO" wrote:

To remove the last three digits, assuming your "before" entry is in
cell A1:
=MID(A1,1,LEN(A1)-3)

To remove the first three digits, assuming your "before" entry is in
cell A2:
=MID(A2,4,LEN(A2))


Dave O


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002 : How to remove the digits from original reference

Hello Dave,

Thank you for the formulas

It works well.

Kind Regards

Low




--
A36B58K641


"DaveO" wrote:

To remove the last three digits, assuming your "before" entry is in
cell A1:
=MID(A1,1,LEN(A1)-3)

To remove the first three digits, assuming your "before" entry is in
cell A2:
=MID(A2,4,LEN(A2))


Dave O


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
Excel 2002 : How to remove large page numbers ? Mr. Low Excel Discussion (Misc queries) 4 June 9th 09 04:50 AM
Excel 2002 : How to remove trailing spaces ? Mr. Low Excel Discussion (Misc queries) 4 April 6th 07 04:26 PM
cannot run, install, or remove excel 2002 on win xp angela g Setting up and Configuration of Excel 0 January 31st 07 03:19 PM
How to combine Excel 2002 files and remove duplicate records? Dave542 New Users to Excel 4 April 6th 06 01:08 PM
Excel Reference points to original file Gary Brown Excel Discussion (Misc queries) 0 January 24th 05 09:31 PM


All times are GMT +1. The time now is 02:15 AM.

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"