#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default delete a prefix

I have run an export report from our operating system for a list of order
numbers, these numbers are 7 digits long. ie
0000001
0000010
0000029
0001000

How can I delete the prefixing zeros so it reads as follows
1
10
29
1000

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default delete a prefix

First, try changing the format to General
select the range
format|cells|number tab

If that doesn't work, select an empty cell
edit|Copy
select the cells to fix
edit|paste special|add



The Rook wrote:

I have run an export report from our operating system for a list of order
numbers, these numbers are 7 digits long. ie
0000001
0000010
0000029
0001000

How can I delete the prefixing zeros so it reads as follows
1
10
29
1000

Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default delete a prefix

There may be a few ways to get around this, but one I use is this -

In a cell next to the list of numbers you have use a formula that multplies
the number in your list by 1. This should turn it into a normal looking
number. (so if 0000001 is in A1, do this formula in B1, "=A1*1")

"The Rook" wrote:

I have run an export report from our operating system for a list of order
numbers, these numbers are 7 digits long. ie
0000001
0000010
0000029
0001000

How can I delete the prefixing zeros so it reads as follows
1
10
29
1000

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default delete a prefix

Enter in an empty cell: 1, copy the cell.
Select the range, right-click paste special check "Multiply" OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"The Rook" wrote:
I have run an export report from our operating system for a list of order
numbers, these numbers are 7 digits long. ie
0000001
0000010
0000029
0001000

How can I delete the prefixing zeros so it reads as follows
1
10
29
1000

Thanks

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
Adding Prefix Freshman Excel Worksheet Functions 4 September 4th 06 08:26 AM
Prefix and Suffix Clare Excel Discussion (Misc queries) 2 January 30th 06 07:26 PM
ADD PREFIX TO COLUMNS kim Excel Worksheet Functions 1 January 24th 06 12:57 AM
Prefix Big Boss Excel Worksheet Functions 4 August 11th 05 03:05 AM
Cell value prefix NDB Excel Worksheet Functions 4 February 1st 05 03:06 PM


All times are GMT +1. The time now is 04:07 AM.

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"