F
fuzit
I have about 30 txt files with about a thousand records in each. Th
elements are comma delimited. There is no header line and the firs
record has different fields than the remaining records.
The first records contains some descriptive elements (highlevel typ
info) of which only the last element is important.
I want to import all the txt files into one large table. But I want t
append the last element in the first line of each file to the end o
each successive record from the same file.
Example:
File1.txt
xxx,xxxxx,xx,123,xxxx
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
File2.txt
aaa,aaaaa,aa,124,aaaa
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
File3.txt
ppp,pppppp,pp,245,pppp
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
New spreadsheet
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,xxxx
zzzzzz,zzzz.zz,zzzzz,zzzzz,xxxx
zzzzzzz,zzzz.zz,zzzzz,zzzzz,xxxx
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,aaaa
zzzzzz,zzzz.zz,zzzzz,zzzzz,aaaa
zzzzzzz,zzzz.zz,zzzzz,zzzzz,aaaa
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,pppp
zzzzzz,zzzz.zz,zzzzz,zzzzz,pppp
zzzzzzz,zzzz.zz,zzzzz,zzzzz,pppp
Any help would be appreciated
elements are comma delimited. There is no header line and the firs
record has different fields than the remaining records.
The first records contains some descriptive elements (highlevel typ
info) of which only the last element is important.
I want to import all the txt files into one large table. But I want t
append the last element in the first line of each file to the end o
each successive record from the same file.
Example:
File1.txt
xxx,xxxxx,xx,123,xxxx
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
File2.txt
aaa,aaaaa,aa,124,aaaa
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
File3.txt
ppp,pppppp,pp,245,pppp
zzzzzzz,zzzz.zz,zzzzzz,zzzzz
zzzzzz,zzzz.zz,zzzzz,zzzzz
zzzzzzz,zzzz.zz,zzzzz,zzzzz
New spreadsheet
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,xxxx
zzzzzz,zzzz.zz,zzzzz,zzzzz,xxxx
zzzzzzz,zzzz.zz,zzzzz,zzzzz,xxxx
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,aaaa
zzzzzz,zzzz.zz,zzzzz,zzzzz,aaaa
zzzzzzz,zzzz.zz,zzzzz,zzzzz,aaaa
zzzzzzz,zzzz.zz,zzzzzz,zzzzz,pppp
zzzzzz,zzzz.zz,zzzzz,zzzzz,pppp
zzzzzzz,zzzz.zz,zzzzz,zzzzz,pppp
Any help would be appreciated