ROWSonSpreadsheet.php 877 B

12345678910111213141516171819
  1. <?php
  2. return [
  3. 'global $E$2:$E$6' => [5, 'namedrangex'],
  4. 'global $F$2:$H$2' => [1, 'namedrangey'],
  5. 'global $F$4:$H$4' => [1, 'namedrange3'],
  6. 'local in scope $F$5:$H$5' => [1, 'namedrange5'],
  7. 'local out of scope' => ['#NAME?', 'localname'],
  8. 'non-existent sheet' => [5, 'UnknownSheet!B2:K6'],
  9. 'not enough arguments' => ['exception', 'omitted'],
  10. 'other existing sheet' => [6, 'OtherSheet!A1:H6'],
  11. 'qualified in scope $F$5:$H$5' => [1, 'ThisSheet!namedrange5'],
  12. 'single cell absolute' => [1, '$C$7'],
  13. 'single cell relative' => [1, 'C7'],
  14. 'unknown name' => ['#NAME?', 'InvalidCellAddress'],
  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' => [1, 'OtherSheet!localname'], // needs investigation
  18. ];