Solved

Convert an Excel Spreadsheet into a Mysql table

Posted on 2008-10-23
1
439 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

738 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