mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-16 08:59:29 +00:00
Some work on refactoring the ReferenceHelper to extract the logic for updating cell references. This is a preliminary step toward allowing updates to absolute cell references, required to update Conditional Formatting rules.
This commit is contained in:
@@ -22,6 +22,34 @@ return [
|
||||
'2020',
|
||||
'=SUM(A1:C3)',
|
||||
],
|
||||
'column range' => [
|
||||
'=SUM(B:C)',
|
||||
2,
|
||||
0,
|
||||
'2020',
|
||||
'=SUM(D:E)',
|
||||
],
|
||||
'column range with absolute' => [
|
||||
'=SUM($B:C)',
|
||||
2,
|
||||
0,
|
||||
'2020',
|
||||
'=SUM($B:E)',
|
||||
],
|
||||
'row range' => [
|
||||
'=SUM(2:3)',
|
||||
0,
|
||||
2,
|
||||
'2020',
|
||||
'=SUM(4:5)',
|
||||
],
|
||||
'row range with absolute' => [
|
||||
'=SUM($2:3)',
|
||||
0,
|
||||
2,
|
||||
'2020',
|
||||
'=SUM($2:5)',
|
||||
],
|
||||
[
|
||||
'=SUM(2020!C3:E5,2019!C3:E5)',
|
||||
-2,
|
||||
|
||||
Reference in New Issue
Block a user