Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2012, 09:55 AM
certified_techy certified_techy is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2007
Novice
Converting Phone Numbers Question
 
Join Date: Apr 2012
Location: Nashville, TN
Posts: 2
certified_techy is on a distinguished road
Exclamation Converting Phone Numbers Question

Good Morning,



I need assistance with converting phone numbers in an Excel spreadsheet.

Currently, the numbers all show up as "1234567890", but I need them to show up as "123-456-7890". I know that there's an option to convert the text to look like a phone number, but that's not what I need. Yes, it changes the appearance of the number in the cell, but I need the number to be changed in the cell when you click on it.

For example;

I have 1234567890 in cell 1A. In the function bar, it shows as 1234567890.

I can change the appearance to be (123) 456 - 7890, which is ok, however it just changes the appearance.

I need it to change it in the cell from 1234567890 to 123-456-7890.

I've tried format painter, find and replace, the only thing that I can think of to do at this point is go line by line and change it. My sheet has about 1000 numbers in it.

Help!!!
Reply With Quote
  #2  
Old 06-04-2012, 12:08 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Does every number contain 10 digits?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 06-04-2012, 12:10 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

If so
Code:
=LEFT(A1,3)&"-"&MID(A1,4,3)&"-"&right(A1,4)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 06-04-2012, 01:53 PM
certified_techy certified_techy is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2007
Novice
Converting Phone Numbers Question
 
Join Date: Apr 2012
Location: Nashville, TN
Posts: 2
certified_techy is on a distinguished road
Default

So, how would that look with a phone number in it? And how could I do a "find and replace" and get that added to the front (which is where I'm assuming it's supposed to go)?

Would it look like "=LEFT(A1,3)&"-"&MID(A1,4,3)&"-"&RIGHT(A1,4)1234567890" ?
Reply With Quote
  #5  
Old 06-05-2012, 02:13 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

You will have to enter this formula in another cell ( B1, say) and pull down as needed
When you have the results - Copy Paste Special - Values to the place you want
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #6  
Old 06-07-2012, 10:52 AM
awstyle awstyle is offline Converting Phone Numbers Question Mac OS X Converting Phone Numbers Question Office for Mac 2011
Novice
 
Join Date: May 2012
Location: Cambridgeshire, UK
Posts: 6
awstyle is on a distinguished road
Default Converting Phone Numbers Question

Would another way out of this be to set up a custom number format. Set the format as 000-000-0000.

Regards

Tony
Reply With Quote
  #7  
Old 06-07-2012, 11:44 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Of course, but the OP stated that he did not want this solution ( see his post)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #8  
Old 06-07-2012, 01:52 PM
awstyle awstyle is offline Converting Phone Numbers Question Mac OS X Converting Phone Numbers Question Office for Mac 2011
Novice
 
Join Date: May 2012
Location: Cambridgeshire, UK
Posts: 6
awstyle is on a distinguished road
Default

That'll teach me to post in a hurry.

Regards

Tony
Reply With Quote
  #9  
Old 06-08-2012, 02:27 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Converting Phone Numbers Question Windows 7 64bit Converting Phone Numbers Question Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Np, happens to me more than often enough
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Custom Labels for Phone numbers Tonistep Outlook 0 03-26-2012 02:57 PM
Can delete on phone but still dnlds to netbook peterlckwd Outlook 0 03-14-2012 04:29 AM
Converting Phone Numbers Question Changing phone categories in Outlook Contact cwksr Outlook 1 05-06-2011 08:44 AM
Converting Phone Numbers Question Phone number formatting Mark Micallef Outlook 1 08-04-2010 02:38 PM
Phone call through TAPI driver drdebate Outlook 0 04-09-2007 01:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft