Solved

Convert an Excel Spreadsheet into a Mysql table

Posted on 2008-10-23
1
423 Views
Last Modified: 2012-05-05
Hi, can anyone give me any advice on a way to do this. Ive got an old excel spreadsheet with 500 records in it that id like to put into an 'assets' table in a mysql database. I've had a look on the net and can find straight forward 1:1 conversions but the problem is the number of columns has halfed in the new database so i could like to map the data in the excel spreadsheet into the columns in the database and want to ignore the data in the excel  columns we dont need anymore

can anyone help?

thanks
0
Comment
Question by:Jonesey007
1 Comment
 
LVL 4

Accepted Solution

by:
ScannyR earned 500 total points
ID: 22785844
The easiest way would probably be to save the excel file as a csv file and that can then be imported into MySQL. You will have to make sure the structure and order of the csv file matches the database table though so I would suggest first saving a copy of the spreadsheet, then deleting surplus columns and adjusting the order of remaining columns. You can then save this trimmed down version as a CSV file and import it into MySQL.

Rich
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Creating and Managing Databases with phpMyAdmin in cPanel.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now