Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8595525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:27:18+00:00 2026-06-12T00:27:18+00:00

I think this is really a question about approach. We have a core Excel

  • 0

I think this is really a question about approach.

We have a core Excel spreadsheet that comes in from a third party, and it provides some complex analysis of raw data. The raw data arrives directly from customers in a second spreadsheet.

We are looking to create an automated web-server based system where the raw data Excel file can be uploaded and the analysis performed, and a report generated.

The report generation is no problem, but is there any mileage in actually using the core Excel spreadsheet itself within the application to do the mathematics (using PHPExcel for example)? Or is the best approach always to replicate the analysis in code?

Our thinking is that the analysis (which comes in from a third party) is fairly complex, so will take quite a lot of unpicking to replicate in PHP, and secondly parts of the analysis are often being tweaked by the third party meaning new versions of the Excel are regularly provided to us.

I could imagine using PHPExcel to do something like this, creating the sheet in memory and merging the raw data in as a second worksheet, then reading out the calculated results, but is this realistic – would it be too slow – or just simply not work how I am imagining?

Any thoughts would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:27:20+00:00Added an answer on June 12, 2026 at 12:27 am

    Depending on the complexity of the Excel formulae, it can be perfectly viable to use PHPExcel’s calculation engine, but you’d need to watch out for a few potential “gotchas”.

    • Not all Excel functions are fully supported (There is a list provided
      in the PHPExcel documentation, but I think 316 functions out of 356
      are now supported)
    • Excel functions from the analysis toolpack are not
      supported for BIFF (.xls) workbooks; though they will work with
      OfficeOpenXML (xlsx) workbooks
    • User-defined functions are not
      supported
    • Macros and other VB code are not supported
    • Array formulae
      are not yet supported (this is a significant part of the planned
      rewrite of the calculation engine due to start by the end of the year)
    • R1C1 format for cell references is not supported

    It is relatively slow (part of the reason it needs a rewrite). You could certainly write PHP code that would execute the formulae you need more efficiently, because you could code to your specific requirements. Whether PHPExcel would be too slow? Only you can determine what “too slow” actually means.

    Note that it’s often better to submit requests for extensive memory- or time-consuming tasks to run outside of the web server

    On the other hand, if your client ever changes their spreadsheet (and you indicate that this is fairly frequent), then using PHPExcel’s built-in calculation engine means that it would still work without problems, whereas custom-written code would need modification.
    As you’ve already pointed out, complex formulae could require a lot of work converting to PHP code; and unpicking changes made to formulae in a spreadsheet would be particularly difficult.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think this question is really about my understanding of Garbage collection and variable
This is a really short question I think but I'm not sure I understand
EDIT: This question was initially too general, I think. So What I really need
i didn't really know how to title this question, but here's a thing that
This is for an iPhone App, but I don't think that really matters. I
This is a follow up to a previous question that I had before about
This questions is not really about code but application design. I have an app
I am wondering how you would approach this problem I have two Taxrates that
I have a question that is puzzling me recently about which is the best
I have this question about c# language's dynamic binding behavior. Consider the following object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.