Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Fall back when value is #N/A #649

Open
wants to merge 1 commit into
base: 1.8
Choose a base branch
from
Open

Fall back when value is #N/A #649

wants to merge 1 commit into from

Conversation

kayue
Copy link

@kayue kayue commented Aug 24, 2015

getCalculatedValue() doesn't work properly with my Excel. I have created a test script below, it is returnning '#N/A' but it shouldn't.

File: http://ge.tt/8jaJfiM2/v/0

#!/usr/bin/env php
<?php
(@include_once __DIR__ . '/../vendor/autoload.php') || @include_once __DIR__ . '/../../../autoload.php';
dump((new PHPExcel_Reader_Excel2007())
    ->setReadDataOnly(true)
    ->load($argv[1])
    ->getActiveSheet()
    ->getCell('AL20')
    ->getCalculatedValue()
);

This PR should fix it, kindly review.

@kayue
Copy link
Author

kayue commented Aug 31, 2015

ping @MarkBaker

@kayue
Copy link
Author

kayue commented Sep 16, 2015

ping @MarkBaker...

@kayue
Copy link
Author

kayue commented Sep 18, 2015

@MarkBaker any feedback?

@kayue
Copy link
Author

kayue commented Oct 7, 2015

ping @MarkBaker...

@kayue
Copy link
Author

kayue commented Dec 9, 2015

ping @MarkBaker

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants