Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Import data format, need help

I have about 5,000 Internet address + ports in a .txt file, e.g:
"127.0.0.1:80 127.0.0.20:80
172.9.34.6:3128 162.168.0.4:8080 12.5.4.3:80..."

As you can see, the delimiter for each entry is a "space(s) and sometimes
carriage return."

The format I want is for the data to be in columns and as many rows as
required to complete the operation.

When I try, Excel imports okay, uses the delimiters correctly, fills up
sheet #1 with data, down to about row 32, then moves to the next column,
until all columns are filled.

A message pops up that says that page is filled and to continue, I need to
use the Import Wizard, tell it where to start and it will begin a new sheet.
I keep doing this until all the data is put on separate sheets.

What I want in the formating is this:

Option 1
1) have the delimited data go only into the columns that I can see on my
screen.

That would be about, column "J" or so. I don't want to have to scroll
across all the columns to see the data.

and

2) rather than manually use the wizard to make a new Sheet after the 32
rows? or whatever, I'd like Excel to continue to put the data in columns
(that are on the screen), down to as many rows as each Sheet can hold.

(Instead, it looks like it is giving me the #of rows that will fit on a
page, regardless if the number of columns it has filled far exceed the size
of the page.)
----

Option 2: Using the delimiters, import all the data into only one column of
as many rows as can be placed on one sheet. then move to the next sheet,
using a single column.
_______

Are there ways to easily do either of these?

Thaks,
Bob


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Import data format, need help

Essentially this is a job for VBA coding to read the file, parse the entries
and place them in the order and in the ranges you desire and automatically
insert new sheets when required. Pretty much any other solution involves a
lot of hand-eye coordination.

Before even beginning the effort you need to very clearly define exactly
what constitutes the area of each worksheet you want data entered into. A
generalized statement like "put the data in columns that are on the screen"
is undefinable - different screen resolutions display different columns and
different rows. I personally don't know of any way of telling if a given
column/row is currently being displayed on the video at any given time.

"sunslight" wrote:

I have about 5,000 Internet address + ports in a .txt file, e.g:
"127.0.0.1:80 127.0.0.20:80
172.9.34.6:3128 162.168.0.4:8080 12.5.4.3:80..."

As you can see, the delimiter for each entry is a "space(s) and sometimes
carriage return."

The format I want is for the data to be in columns and as many rows as
required to complete the operation.

When I try, Excel imports okay, uses the delimiters correctly, fills up
sheet #1 with data, down to about row 32, then moves to the next column,
until all columns are filled.

A message pops up that says that page is filled and to continue, I need to
use the Import Wizard, tell it where to start and it will begin a new sheet.
I keep doing this until all the data is put on separate sheets.

What I want in the formating is this:

Option 1
1) have the delimited data go only into the columns that I can see on my
screen.

That would be about, column "J" or so. I don't want to have to scroll
across all the columns to see the data.

and

2) rather than manually use the wizard to make a new Sheet after the 32
rows? or whatever, I'd like Excel to continue to put the data in columns
(that are on the screen), down to as many rows as each Sheet can hold.

(Instead, it looks like it is giving me the #of rows that will fit on a
page, regardless if the number of columns it has filled far exceed the size
of the page.)
----

Option 2: Using the delimiters, import all the data into only one column of
as many rows as can be placed on one sheet. then move to the next sheet,
using a single column.
_______

Are there ways to easily do either of these?

Thaks,
Bob


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
How many data series can i format Derek Charts and Charting in Excel 4 June 8th 06 05:29 PM
Import external data problem ardi Excel Discussion (Misc queries) 1 April 3rd 06 02:03 PM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
How to import data from a password protected Access DB into Excel. Agus Excel Discussion (Misc queries) 0 October 12th 05 05:42 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 10:53 AM.

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"