Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a large database of phone numbers. some are 10 digits, and some are
only 7. I need all numbers that are 7 digits to have the same area code added to the front. Is there a way to do this other than manually? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What format are the phone numbers in?
Show us both a 10 digit number and a 7 digit number. -- Biff Microsoft Excel MVP "MysticalWaters79" wrote in message ... I have a large database of phone numbers. some are 10 digits, and some are only 7. I need all numbers that are 7 digits to have the same area code added to the front. Is there a way to do this other than manually? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would create a new column with the new numbers in them. How you convert
them depends on how your numbers are store. If they are straight text, you can use something like: =if(len(a1)=10,A1,"306"&a1) If they have some other format, you can adapt the above, or post back with details. Regards, Fred "MysticalWaters79" wrote in message ... I have a large database of phone numbers. some are 10 digits, and some are only 7. I need all numbers that are 7 digits to have the same area code added to the front. Is there a way to do this other than manually? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to extract digits from a row of numbers | Excel Worksheet Functions | |||
How to force numbers to just 2 digits, not 15 ? | Excel Discussion (Misc queries) | |||
How do I display numbers of 12 digits or more? | Excel Discussion (Misc queries) | |||
Sorting numbers with differing numbers of digits | Excel Discussion (Misc queries) | |||
counting digits, not numbers | Excel Worksheet Functions |