Cameron
Cameron

Reputation: 28783

Convert Excel spreadsheet to PHP script

I have an excel spreadsheet that contains some formulas to calculate ROI for an upcoming product of a client. Is it possible to convert this into a php script whereby a user would type into some boxes and then submit it working out the same. The excel spreadsheet is here: http://www.solidcamxpress.co.uk/roi.xls

Upvotes: 1

Views: 24120

Answers (3)

abhishek bagul
abhishek bagul

Reputation: 263

@Cameron

There is a software in the market which can convert the spreadsheet to active html/php with ease. You can get the software at the following url:
http://www.spreadsheetconverter.com

Even you can also convert the spreadsheet by yourself as it is simple to convert with scripts. but you can also this software for the conversion =)

Upvotes: 1

Marc B
Marc B

Reputation: 360562

You can use PHPExcel to read an existing spreadsheet and extract its data/formulas, but converting those formulas from Excel syntax to PHP is rather non-trivial.

Unless you're doing a generalized Excel->PHP converter, the time/effort required to write such a converter will be far greater than it would take you do analyze the one spreadsheet by hand and code up some PHP stuff to recreate it.

Upvotes: 0

Ryan Chouinard
Ryan Chouinard

Reputation: 2076

Sure, PHP can do math just like Excel's formulas. However, there is no magic method of converting Excel to a Web page, if that's what you're asking.

Upvotes: 4

Related Questions