Skip to content

Commit

Permalink
formulae_test_simple: initial
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed May 29, 2014
1 parent 45e7b12 commit 5561c42
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -77,6 +77,8 @@ of Excel h/t @eladxxx).

`cell_style_simple` tests simple cell styles

`formulae_test_simple` tests simple shared and array formulae

`password_*` tests different password modes in different versions. Name format:
`password_<ExcelVersion>_<Bits>_<Desc>`.

Expand Down
Binary file added formulae_test_simple.xls
Binary file not shown.
Binary file added formulae_test_simple.xlsb
Binary file not shown.
Binary file added formulae_test_simple.xlsx
Binary file not shown.
93 changes: 93 additions & 0 deletions formulae_test_simple.xml
@@ -0,0 +1,93 @@
<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
<Author>God</Author>
<LastAuthor>God</LastAuthor>
<Created>2014-05-29T16:48:52Z</Created>
<LastSaved>2014-05-29T17:01:52Z</LastSaved>
<Version>14.0</Version>
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>15260</WindowHeight>
<WindowWidth>25600</WindowWidth>
<WindowTopX>0</WindowTopX>
<WindowTopY>0</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:CharSet="204" x:Family="Swiss" ss:Size="12"
ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="4" ss:ExpandedRowCount="6" x:FullColumns="1"
x:FullRows="1" ss:DefaultColumnWidth="65" ss:DefaultRowHeight="15">
<Row>
<Cell><Data ss:Type="Number">1</Data></Cell>
<Cell ss:ArrayRange="RC:R[4]C" ss:Formula="=RC[-1]:R[4]C[-1]"><Data
ss:Type="Number">1</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">1</Data></Cell>
<Cell ss:Formula="=RC[-3]"><Data ss:Type="Number">1</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="Number">2</Data></Cell>
<Cell><Data ss:Type="Number">2</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">2</Data></Cell>
<Cell ss:Formula="=RC[-3]"><Data ss:Type="Number">2</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="Number">3</Data></Cell>
<Cell><Data ss:Type="Number">3</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">3</Data></Cell>
<Cell ss:Formula="=RC[-3]"><Data ss:Type="Number">3</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="Number">4</Data></Cell>
<Cell><Data ss:Type="Number">4</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">4</Data></Cell>
<Cell ss:Formula="=RC[-3]"><Data ss:Type="Number">4</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="Number">5</Data></Cell>
<Cell><Data ss:Type="Number">5</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">5</Data></Cell>
<Cell ss:Formula="=RC[-3]"><Data ss:Type="Number">5</Data></Cell>
</Row>
<Row>
<Cell ss:Formula="=SUM(R[-5]C:R[-1]C*R[-5]C[1]:R[-1]C[1])"><Data
ss:Type="Error">#VALUE!</Data></Cell>
<Cell ss:ArrayRange="RC" ss:Formula="=SUM(R[-5]C[-1]:R[-1]C[-1]*R[-5]C:R[-1]C)"><Data
ss:Type="Number">55</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Error">#VALUE!</Data></Cell>
<Cell ss:Formula="=RC[-2]"><Data ss:Type="Number">55</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageLayoutZoom>0</PageLayoutZoom>
<Selected/>
<Panes>
<Pane>
<Number>3</Number>
<ActiveRow>5</ActiveRow>
<ActiveCol>3</ActiveCol>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
</WorksheetOptions>
</Worksheet>
</Workbook>

0 comments on commit 5561c42

Please sign in to comment.