Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet that I exported from our school database. The phone
numbers were not entered with area codes, and I need to add them because this spread sheet is being used to update an automated calling system. 98% of the phone numbers are the same (661) I thought about just adding 6610000000 to each number, but I'm thinking that will be as much work as adding to each field. Help, how can I add an area code to an entire column of 1400 fields the quickest? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try
for each c in range("a2:a1400" c.value="661" & c next c -- Don Guillett SalesAid Software "Kelly" wrote in message ... I have a spreadsheet that I exported from our school database. The phone numbers were not entered with area codes, and I need to add them because this spread sheet is being used to update an automated calling system. 98% of the phone numbers are the same (661) I thought about just adding 6610000000 to each number, but I'm thinking that will be as much work as adding to each field. Help, how can I add an area code to an entire column of 1400 fields the quickest? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try a custom format of:
"661-"# -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Kelly" wrote in message ... I have a spreadsheet that I exported from our school database. The phone numbers were not entered with area codes, and I need to add them because this spread sheet is being used to update an automated calling system. 98% of the phone numbers are the same (661) I thought about just adding 6610000000 to each number, but I'm thinking that will be as much work as adding to each field. Help, how can I add an area code to an entire column of 1400 fields the quickest? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The custom format worked great! Thanks. I always feel stupid and think "Why
didn't I think of that?" Oh well, I guess that why you guys are here. "RagDyer" wrote: Try a custom format of: "661-"# -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Kelly" wrote in message ... I have a spreadsheet that I exported from our school database. The phone numbers were not entered with area codes, and I need to add them because this spread sheet is being used to update an automated calling system. 98% of the phone numbers are the same (661) I thought about just adding 6610000000 to each number, but I'm thinking that will be as much work as adding to each field. Help, how can I add an area code to an entire column of 1400 fields the quickest? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Appreciate the feed-back ... BUT ... Just re-read your OP, and I'm wondering if *just* changing the *format*, and *not* changing the actual value in the cell is good enough for your purposes. Don't know code, but it looks like Don's suggestion will change the *value* in the cell. -- Regards, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Kelly" wrote in message ... The custom format worked great! Thanks. I always feel stupid and think "Why didn't I think of that?" Oh well, I guess that why you guys are here. "RagDyer" wrote: Try a custom format of: "661-"# -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Kelly" wrote in message ... I have a spreadsheet that I exported from our school database. The phone numbers were not entered with area codes, and I need to add them because this spread sheet is being used to update an automated calling system. 98% of the phone numbers are the same (661) I thought about just adding 6610000000 to each number, but I'm thinking that will be as much work as adding to each field. Help, how can I add an area code to an entire column of 1400 fields the quickest? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I automatically add an area code to a number in a cell? | Excel Worksheet Functions | |||
PivotTable - Where have the units/records gone? | Excel Worksheet Functions | |||
Adding a loop to conditional delete code | New Users to Excel | |||
Macro for changing text to Proper Case | Excel Worksheet Functions | |||
bar code help, adding asterix to reference | Excel Discussion (Misc queries) |