tags:

views:

85

answers:

2

I have suppose 10 separate .xls files. i want to merge them and also delete the duplicate rows.. can some 1 suggest me any codes for that???? is it possible to do it using php codes???

+1  A: 

for xlsx files (Office 2007+) you can do that using the excel library for PHP. See "http://www.codeplex.com/PHPExcel". It will allow you to open read and write xlsx files

iWantSimpleLife
PHPExcel will also read/write xls files (Excel 95+)
Mark Baker
A: 

The simplest Way is to export the Data as CSV and then Process it.

Dratir
how can i process it??
champ
@champ - you'd have to tell us exactly what you meant by "merge and delete" for us to be able to answer this second question
Mark Baker
See the [PHP Function Reference](http://www.php.net/manual/en/funcref.php)
Dratir
I have 30 .xls files in same format.. it contains name, email id, address etc. now i want to have all the data of this 30 files together and also want if there exists any duplicate rows(it is possible to have duplicates) to be removed...
champ