COLUMNSonSpreadsheet.php 872 B

12345678910111213141516171819
  1. <?php
  2. return [
  3. 'global $e$2-$e$6' => [1, 'namedrangex'],
  4. 'global $f$2:$h$2' => [3, 'namedrangey'],
  5. 'global $f$4:$h$4' => [3, 'namedrange3'],
  6. 'local in scope $f$5:$i$5' => [4, 'namedrange5'],
  7. 'local out of scope' => ['#NAME?', 'localname'],
  8. 'non-existent sheet' => [10, 'UnknownSheet!B2:K6'],
  9. 'not enough arguments' => ['exception', 'omitted'],
  10. 'other existing sheet' => [6, 'OtherSheet!B1:G1'],
  11. 'qualified in scope $f$5:$i$5' => [4, 'ThisSheet!namedrange5'],
  12. 'single cell absolute' => [1, '$C$15'],
  13. 'single cell relative' => [1, 'C7'],
  14. 'unknown name' => ['#NAME?', 'namedrange2'],
  15. 'unknown name as first part of range' => ['#NAME?', 'Invalid:A2'],
  16. 'unknown name as second part of range' => ['#NAME?', 'A2:Invalid'],
  17. //'qualified out of scope $f$6:$h$6' => [3, 'OtherSheet!localname'], // needs investigation
  18. ];