Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Can Spreadsheet::ParseExcel extract formulas?

by Corion (Patriarch)
on Oct 07, 2010 at 19:29 UTC ( [id://864070]=note: print w/replies, xml ) Need Help??


in reply to Can Spreadsheet::ParseExcel extract formulas?

What does the Spreadsheet::ParseExcel documentation say?

  • Comment on Re: Can Spreadsheet::ParseExcel extract formulas?

Replies are listed 'Best First'.
Re^2: Can Spreadsheet::ParseExcel extract formulas?
by petecm99 (Pilgrim) on Oct 07, 2010 at 19:54 UTC
    I did a search in the CPAN module documentation for 'formula' - nothing jumped out at me. There was a blurb about reading formulas created by WriteExcel -

    "This module cannot read the values of formulas from files created with Spreadsheet::WriteExcel unless the user specified the values when creating the file (which is generally not the case). The reason for this is that Spreadsheet::WriteExcel writes the formula but not the formula result since it isn't in a position to calculate arbitrary Excel formulas without access to Excel's formula engine."

    My input spreadsheet was not created by WriteExcel, so I assume this comment does not apply. I also looked in my site/lib install folder for examples, there were none. There are plenty for WriteExcel, but ParseExcel is rather sparse.

      Quoting Spreadsheet::ParseExcel

      TODO

      • ...
      • Add Formula support, Hyperlink support, Named Range support.

      I would assume from that that formulae are currently unsupported.

        I can also assume this means that it does not yet handle evaluating formulae, yet could have a method for retrieving the un-evaluated cell contents. Rather ambiguous, if you catch my drift. I maintain that my question is still valid - I could be missing something simple...certainly doesn't hurt to ask!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://864070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2026-01-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (124 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.