Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hardip
 
Posts: n/a
Default Deleting Lead Zeros

Hi All,

Is there a function in Excel that allows the lead zeros to be removed. The
first number in the list has 3 zeros and the final 2 zeros. What would be
the best method to remove?

00076245
00076273
00224278
00258071
00250746

I'd appreciate any assistance the group can offer.

TIA - H
  #2   Report Post  
Stefi
 
Posts: n/a
Default

Hi Hardip,

Formatting the column as Number removes leading zeros.
If you want to keep the column as text, select the column, choose replace,
write 0 in to be replaced, write "" (empty string) in replaced by, and select
replace all!

Regards,
Stefi


€˛Hardip€¯ ezt Ć*rta:

Hi All,

Is there a function in Excel that allows the lead zeros to be removed. The
first number in the list has 3 zeros and the final 2 zeros. What would be
the best method to remove?

00076245
00076273
00224278
00258071
00250746

I'd appreciate any assistance the group can offer.

TIA - H

  #3   Report Post  
Stefi
 
Posts: n/a
Default

Sorry, the second case is wrong, because it will replace all zeros not only
the leading ones.
Instead: supposed the cell to be converted is A2, use a helper column with
the function =text(value(A2),"@")


Regards,
Stefi

€˛Hardip€¯ ezt Ć*rta:

Hi All,

Is there a function in Excel that allows the lead zeros to be removed. The
first number in the list has 3 zeros and the final 2 zeros. What would be
the best method to remove?

00076245
00076273
00224278
00258071
00250746

I'd appreciate any assistance the group can offer.

TIA - H

  #4   Report Post  
Krishnakumar
 
Posts: n/a
Default


Hi,

Try,

=VALUE(A1)

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=400738

  #5   Report Post  
Hardip
 
Posts: n/a
Default

Thanks for replying people.

I tried all the examples and found Krishna's example worked. However,
thanks to all who replied.

Best - H

"Krishnakumar" wrote:


Hi,

Try,

=VALUE(A1)

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=400738




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
Creating formulas that allow the solutions to start with zeros. mevans Excel Discussion (Misc queries) 2 July 20th 05 05:00 PM
How do I force leading zeros in an Excel cell? EricKei Excel Discussion (Misc queries) 2 June 15th 05 08:28 PM
Leading zeros Paul Excel Discussion (Misc queries) 4 June 12th 05 04:04 AM
Lead Zeros to Show? [email protected] Excel Worksheet Functions 4 February 9th 05 08:21 PM
Help!: lead sheet data needs to fill appropriate subject sheets carebear Excel Worksheet Functions 1 November 12th 04 09:03 PM


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