Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Razorback76
 
Posts: n/a
Default Importing Text File Data into Excel where records span several row

Hi,
Wondering what the solution would be to importing .txt file data into excel
or access when you are importing data spread over several lines.

Here's a practical scenario
1 24582 GENERAL FRED 13/06/06 8:45:08 Sales
~Rounding -1 -0.01 0.01 0.00
BOUQUETS T/T WHT 9pk 1 3.17 3.17 0.00


2 24583 GENERAL FRED 13/06/06 8:45:56 Sales
KP 24 MEDICATED FOAM 100ML 1 13.59 13.59 0.00
NAPHCON A EYE DRP 15ML 1 1 8.99 8.99 0.00


Field Listing as follows.
ItemsSold |SaleNo |Customer |Salesperson|Date|Time|TransactionType
|ProductDescription |Qty| CostExGST |CostIncGST |GST
  #2   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default Importing Text File Data into Excel where records span several row

Nel post
*Razorback76* ha scritto:

Hi,
Wondering what the solution would be to importing .txt file data into
excel or access when you are importing data spread over several lines.

Here's a practical scenario
1 24582 GENERAL FRED 13/06/06 8:45:08 Sales
~Rounding -1 -0.01 0.01 0.00
BOUQUETS T/T WHT 9pk 1 3.17 3.17 0.00


2 24583 GENERAL FRED 13/06/06 8:45:56 Sales
KP 24 MEDICATED FOAM 100ML 1 13.59 13.59 0.00
NAPHCON A EYE DRP 15ML 1 1 8.99 8.99 0.00


Field Listing as follows.
ItemsSold |SaleNo |Customer |Salesperson|Date|Time|TransactionType
ProductDescription |Qty| CostExGST |CostIncGST |GST



If (if) I understood your problem, you can simply open the file in Excel
(menu File, Open, in "Files of type" choose Text Files, then select your
file and click Open): the Text Import Wizard will help you in 3 steps...


--
(I'm not sure of names of menues, option and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.misc
Razorback76
 
Posts: n/a
Default Importing Text File Data into Excel where records span several

unfortunately it doesn't help.

This is one of those common cases where you have a linked table in a
database with sub-ordinates listed in the same column as applicable. e.g.
Text file appears like the simplified example below...

Heading{Enter}
SubHeading{Enter}
Content {TAB} Value {Enter}
Content {TAB} Value {Enter}
Content {TAB} Value {Enter}

where what you want in the subsequent spreadsheet is .....
Heading | SubHeading | Content | Value |
Heading | SubHeading | Content | Value |
Heading | SubHeading | Content | Value |
Heading | SubHeading | Content | Value |

Conversion to this format ensures a easy transition later to excels Pivot
Tables and the wonderous calculations they can perform etc.

Does that make my problem a little clearer?

Steve




"Franz Verga" wrote:

Nel post
*Razorback76* ha scritto:

Hi,
Wondering what the solution would be to importing .txt file data into
excel or access when you are importing data spread over several lines.

Here's a practical scenario
1 24582 GENERAL FRED 13/06/06 8:45:08 Sales
~Rounding -1 -0.01 0.01 0.00
BOUQUETS T/T WHT 9pk 1 3.17 3.17 0.00


2 24583 GENERAL FRED 13/06/06 8:45:56 Sales
KP 24 MEDICATED FOAM 100ML 1 13.59 13.59 0.00
NAPHCON A EYE DRP 15ML 1 1 8.99 8.99 0.00


Field Listing as follows.
ItemsSold |SaleNo |Customer |Salesperson|Date|Time|TransactionType
ProductDescription |Qty| CostExGST |CostIncGST |GST



If (if) I understood your problem, you can simply open the file in Excel
(menu File, Open, in "Files of type" choose Text Files, then select your
file and click Open): the Text Import Wizard will help you in 3 steps...


--
(I'm not sure of names of menues, option and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing data over intranet creativeops Excel Discussion (Misc queries) 0 May 22nd 06 11:43 PM
Import Text file into Excel and match up records Spanarkle Excel Discussion (Misc queries) 2 April 6th 06 07:34 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Exporting excel to text file Exceluser Excel Discussion (Misc queries) 1 July 1st 05 03:04 AM
Text to Columns / Importing Data John Thomson Excel Discussion (Misc queries) 0 May 4th 05 08:21 PM


All times are GMT +1. The time now is 12:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"