#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jennings
 
Posts: n/a
Default Number removal


I have a sheet with 10K part numbers that are 10 digits long

Example

5300000030
5301620220
5301621300
5301621610

Is there a way of removing the last digit to make them all 9 digits
long without editing each cell?

example

530000003
530162022
530162130
530162161


--
Jennings
------------------------------------------------------------------------
Jennings's Profile: http://www.excelforum.com/member.php...o&userid=31466
View this thread: http://www.excelforum.com/showthread...hreadid=512729

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Number removal


In another column

=LEFT(a1,9)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=512729

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Number removal


....this formula can then be autofilled down. If you wish use Copy then
Edit Paste Special Values to overwrite original data


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=512729

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Number removal

Assuming that Column A contains your data, enter the following formula
in B1, and copy down:

=LEFT(A1,LEN(A1)-1)

Then, if you'd like to convert these formulas into values, try the
following...

1) Select Column B

2) Edit Copy Edit Paste Special Values Ok

Hope this helps!

In article ,
Jennings
wrote:

I have a sheet with 10K part numbers that are 10 digits long

Example

5300000030
5301620220
5301621300
5301621610

Is there a way of removing the last digit to make them all 9 digits
long without editing each cell?

example

530000003
530162022
530162130
530162161

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jennings
 
Posts: n/a
Default Number removal


Thanks both ways work great !
Cheers


--
Jennings
------------------------------------------------------------------------
Jennings's Profile: http://www.excelforum.com/member.php...o&userid=31466
View this thread: http://www.excelforum.com/showthread...hreadid=512729

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
number format Ivan Excel Discussion (Misc queries) 2 October 14th 05 02:08 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 3 October 14th 05 12:50 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 1 October 8th 05 07:33 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Need number of Saturdays and number of Sundays between 2 dates Class316 Excel Worksheet Functions 1 June 10th 05 02:47 AM


All times are GMT +1. The time now is 04:13 PM.

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

About Us

"It's about Microsoft Excel"