LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Problem With Text & number format

There are several options for displaying leading zeros depending on the way
you want to use the strings.
1. Custom formatting the cells with format code "0000000000" (10 zero digits).
2. Convert to text with =TEXT(A1,"0000000000")
3. Format a range as Text and Copy/PasteSpecial-Values the result of the
above formula.


--
Regards!
Stefi



zyus ezt *rta:

I hv this sample data in excel

019-1234567
019 1234567
019#1234567
%0191234567

My question

1) How to delete spacing, dashes, character etc leaving the number only..in
my above sample the clean data that i want to get is 0191234567

2) I tried to use replace function (to delete dash,space etc) but the
leading 0 will not be displayed.

What will be the best approach?

Thanks

 
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 Problem Dave B[_2_] Excel Discussion (Misc queries) 2 April 18th 07 11:56 PM
Change number (in text format) to numeric format Pam Excel Discussion (Misc queries) 5 October 24th 05 07:45 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM
excel format cells/Number/Category: Number problem Matts Excel Discussion (Misc queries) 5 December 9th 04 09:47 PM


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