#1   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 102
Default cleaning numbers

i'm cleaning up some data to transfer from a spreadsheet to Access and this
is bugging me

how do i clean up the formatting of a phone number field without Excel
removing the starting 0 from a phone number?

i've changed the format to text but it still deletes the 0 - aaarrrggg!
--
deb
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default cleaning numbers

I usually let excel drop the leading 0's, but then I give the cells a custom
format so that it shows again.

This doesn't change the value, but it does change the way it looks.

Is that ok?

If not, maybe you can clean up your data and then use a helper column with a
formula like:

=text(a1,"0000000000")

Drag down as far as you need, convert it to values and delete the original
column.

deb wrote:

i'm cleaning up some data to transfer from a spreadsheet to Access and this
is bugging me

how do i clean up the formatting of a phone number field without Excel
removing the starting 0 from a phone number?

i've changed the format to text but it still deletes the 0 - aaarrrggg!
--
deb


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 102
Default cleaning numbers

yep, that's useful - thanks

now i just have to deal with the fact they've mixed mobile numbers, quick
dial numbers, international numbers, and notes! oh and just for the hell of
it they have some numbers with the area code, some not and some with the +61
prefix

why me lord?
--
deb


"Dave Peterson" wrote:

I usually let excel drop the leading 0's, but then I give the cells a custom
format so that it shows again.

This doesn't change the value, but it does change the way it looks.

Is that ok?

If not, maybe you can clean up your data and then use a helper column with a
formula like:

=text(a1,"0000000000")

Drag down as far as you need, convert it to values and delete the original
column.

deb wrote:

i'm cleaning up some data to transfer from a spreadsheet to Access and this
is bugging me

how do i clean up the formatting of a phone number field without Excel
removing the starting 0 from a phone number?

i've changed the format to text but it still deletes the 0 - aaarrrggg!
--
deb


--

Dave Peterson
.

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
Excel Cleaning RMT Excel Discussion (Misc queries) 4 November 6th 07 07:34 PM
Cleaning forms Lost in Microbiology Excel Discussion (Misc queries) 3 March 13th 07 07:20 PM
Cleaning data Torero Excel Worksheet Functions 3 November 28th 06 10:16 PM
Cleaning Data AMMark Excel Discussion (Misc queries) 1 October 19th 06 07:21 PM
Spreadsheet cleaning Richard Excel Discussion (Misc queries) 3 December 13th 05 03:06 PM


All times are GMT +1. The time now is 09:41 PM.

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

About Us

"It's about Microsoft Excel"