J
JNation Rocks!
I've got a unique issue. Someone sent me a spreadsheet that I'm trying
to put into a database (mysql) and i figured i could import it as a
csv file into mysql. But instead of them putting in data vertically
with the entries going down the numbers, they did it horizontally. To
explain, they did:
HORIZONTAL
Name John David
Tel 12345 45677
Zip 10001 10002
instead of VERTICAL
Name Tel Zip
John 12345 10001
David 45677 10002
So now I don't know if excel will handle all the records or could be
exported into a csv file properly. Vertical will list records properly
in a csv file, e.g.
1, John, 12345, 10001
2, David, 45677, 10002
But doing a csv dump with #2 will yield
1, John, David
2, 12345, 45677
3,10001, 10002
So what can I do to correct this? As the data is in cells, I'm
thinking there is some function that should be able to fix this...
to put into a database (mysql) and i figured i could import it as a
csv file into mysql. But instead of them putting in data vertically
with the entries going down the numbers, they did it horizontally. To
explain, they did:
HORIZONTAL
Name John David
Tel 12345 45677
Zip 10001 10002
instead of VERTICAL
Name Tel Zip
John 12345 10001
David 45677 10002
So now I don't know if excel will handle all the records or could be
exported into a csv file properly. Vertical will list records properly
in a csv file, e.g.
1, John, 12345, 10001
2, David, 45677, 10002
But doing a csv dump with #2 will yield
1, John, David
2, 12345, 45677
3,10001, 10002
So what can I do to correct this? As the data is in cells, I'm
thinking there is some function that should be able to fix this...