Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Eliminate leading numbers - Excel 2007

I have a column with numbers that range from 00000025 to 00985765. I want to
show only the last six digits and delete the two leading zeros. The cells
are currently formated as text. I want leading zeros if they are within the
last six digits. Since there are 14,000 cells in the column, I am looking
for a way to format the appearance without doing individual cells. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Eliminate leading numbers - Excel 2007

Try using an =mid formula. If the number - 00000025 - is in cell A1, then in
cell B1 type =MID(A1,3,6). That should return 000025. You could insert a
column next to your 14000 numbers and copy this formula down.

Hope this helps.

Amy

"David Lee Stewart" wrote:

I have a column with numbers that range from 00000025 to 00985765. I want to
show only the last six digits and delete the two leading zeros. The cells
are currently formated as text. I want leading zeros if they are within the
last six digits. Since there are 14,000 cells in the column, I am looking
for a way to format the appearance without doing individual cells. Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Eliminate leading numbers - Excel 2007

Try this:

=Right(A1,6)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"David Lee Stewart" wrote in
message ...
I have a column with numbers that range from 00000025 to 00985765. I want
to
show only the last six digits and delete the two leading zeros. The cells
are currently formated as text. I want leading zeros if they are within
the
last six digits. Since there are 14,000 cells in the column, I am looking
for a way to format the appearance without doing individual cells. Thank
you.



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 do i eliminate leading 0 in a text cell REST Excel Discussion (Misc queries) 2 September 25th 06 08:43 PM
how do I eliminate leading "0s" in an alpha numeric cell REST Excel Discussion (Misc queries) 1 September 14th 06 01:35 AM
hOW TO ELIMINATE COL. ABC ROW AND ROW NUMBERS IN EXCEL SHEET DianeMLynch Setting up and Configuration of Excel 3 April 20th 06 04:47 PM
How do I eliminate the leading zero when concatenating? BusyBee Excel Worksheet Functions 1 September 27th 05 03:25 PM
How do I eliminate leading zeros from downloaded data? Vanessa Excel Worksheet Functions 2 June 27th 05 05:11 PM


All times are GMT +1. The time now is 08:34 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"