Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
xppuser
 
Posts: n/a
Default Importing External Data function

Dear all,

I would appreciate help and advice for my problem. I want to import a data
set into excel using Data - Import External Data - Import Data. My data
(which is saved as text file) looks like this:

Belgium (1999) 22/31 5/232
Greenland (1996) 5/21 3/87

i.e. country 'space' 'open bracket' year 'close bracket' 'tab' number '/'
number tab number '/' number.

What I want to import to the spread sheet is just country in one column,
year (without the brackets) in the next column, followed by columns of number
number number number without the 'forward / slash' in between. I tried but
not getting anywhere with the above function. Would appreciate help and
advice. Thank you.

Kind regards,
jes
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David McRitchie
 
Posts: n/a
Default Importing External Data function

You can use Data, Text to columns, delimited
separate first on left paren
next pass separate on space
use change all to change close paren to (nothing, leave empty) via Ctrl+H
--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"xppuser" wrote in message ...
Dear all,

I would appreciate help and advice for my problem. I want to import a data
set into excel using Data - Import External Data - Import Data. My data
(which is saved as text file) looks like this:

Belgium (1999) 22/31 5/232
Greenland (1996) 5/21 3/87

i.e. country 'space' 'open bracket' year 'close bracket' 'tab' number '/'
number tab number '/' number.

What I want to import to the spread sheet is just country in one column,
year (without the brackets) in the next column, followed by columns of number
number number number without the 'forward / slash' in between. I tried but
not getting anywhere with the above function. Would appreciate help and
advice. Thank you.

Kind regards,
jes



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 using a macro chris_rip Excel Discussion (Misc queries) 0 July 18th 05 08:42 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
VLOOKUP Function using Data Ranges. Cal Excel Worksheet Functions 6 April 16th 05 03:26 PM
Using "Get External Data" gifer Excel Worksheet Functions 2 March 11th 05 05:53 PM
refresh external data on a protected sheet ajf Excel Discussion (Misc queries) 0 March 11th 05 09:01 AM


All times are GMT +1. The time now is 09:42 AM.

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

About Us

"It's about Microsoft Excel"