Importing External Data function

X

xppuser

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
 
D

David McRitchie

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
--
 
Top