Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A program I use exports into Excel. All of the account information is stuck
into one cell and I want a macro to extract this information into separate cells. This information in Excel looks like (A3, A4 and A5 shown): ABC Inc. (105920) Denver, CO; SSP AB Gadgets Inc (315555) New York, NY; SSP AA Tony Junior (330266) Los Angelas, CA; SSP NA There will be a minimun of 100 accounts each export. I want to be able to put the company in Column B, account # in Column C, city in Column D and discard the rest. Any advice? Thanks in advance. Brad K |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Select column A and paste it into column B
select column B and do Data=Text to Columns, select delimited and then left paren as the delimiter. Finish up Now select column C and do Data=Text to Columns and select delimited and right paren as the delimiter. finish up Now select column D and do Data=Text to Columns and Select comma as the delimiter. finish up -- Regards, Tom Ogilvy "Brad K." wrote in message ... A program I use exports into Excel. All of the account information is stuck into one cell and I want a macro to extract this information into separate cells. This information in Excel looks like (A3, A4 and A5 shown): ABC Inc. (105920) Denver, CO; SSP AB Gadgets Inc (315555) New York, NY; SSP AA Tony Junior (330266) Los Angelas, CA; SSP NA There will be a minimun of 100 accounts each export. I want to be able to put the company in Column B, account # in Column C, city in Column D and discard the rest. Any advice? Thanks in advance. Brad K |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting parts of a cell when only certain words appear | Excel Discussion (Misc queries) | |||
Extracting parts of names | Excel Worksheet Functions | |||
How can I split one cell into two cell parts (upper & lower)? | Excel Discussion (Misc queries) | |||
hiding parts of a cell | Excel Discussion (Misc queries) | |||
formating parts of a cell | Excel Programming |