Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello!
I have an unusual looking Excel spreadsheet that is produced by our IT department. I am looking for some help as how to modify the layout in anticipation to an export to Access. The layout of the Excel spreadsheet is listed below. I am using the pipe character to indicate that the data is in the next cell. However, the address information (lines 2,3,4) is not separated across different cells other than by separate rows. Also note that there is a string of dashes serving as a sort of record delimiter: Customer Number(n) | Salesman | Date| LOB | Region William Brown| 123 Main Street| Rockledge FL 32955| ------------------------------------------------------------------------------------------------------------ Customer Number(n+1) | Salesman | Date| LOB | Region Ernie Simon| 541 W. Main Street| Suite 231| Cocoa Beach FL 32912| ------------------------------------------------------------------------------------------------------------ Customer Number(n+2) | Salesman | Date| LOB | Region Dave Johnson| 552 Harbor Drive| Port Richey FL 32119-9818| I would like to restructure the data so that each "line" holds a complete record, and do away with the dashed line record delimiter. Basically, this is what I would like to create: CustNumber(n) | Salesman | Date| LOB | Region | CustName | Address1 | Address2 | CityStateZip CustNumber(n+1) | Salesman | Date| LOB | Region | CustName | Address1 | Address2 | CityStateZip CustNumber(n+2) | Salesman | Date| LOB | Region | CustName | Address1 | Address2 | CityStateZip Can anyone suggest some quick code to make this happen? Thanks in advance, Sven Asnien |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to arrange data | Excel Discussion (Misc queries) | |||
arrange data | New Users to Excel | |||
re-arrange cell data | Excel Discussion (Misc queries) | |||
Help with code to re-arrange data for pareto analysis | Excel Programming | |||
how to split data into columns and arrange the resulting data | Excel Discussion (Misc queries) |