Initial work on converting documentation to markdown
|
@ -0,0 +1,19 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## AutoFilters
|
||||||
|
|
||||||
|
Each worksheet in an Excel Workbook can contain a single autoFilter range. Filtered data displays only the rows that meet criteria that you specify and hides rows that you do not want displayed. You can filter by more than one column: filters are additive, which means that each additional filter is based on the current filter and further reduces the subset of data.
|
||||||
|
|
||||||
|
![01-01-autofilter.png](./images/01-01-autofilter.png "")
|
||||||
|
|
||||||
|
When an AutoFilter is applied to a range of cells, the first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless), but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.
|
||||||
|
|
||||||
|
To determine if a filter is applied, note the icon in the column heading. A drop-down arrow (![01-03-filter-icon-1.png](./images/01-03-filter-icon-1.png "")) means that filtering is enabled but not applied. In MS Excel, when you hover over the heading of a column with filtering enabled but not applied, a screen tip displays the cell text for the first row in that column, and the message "(Showing All)".
|
||||||
|
|
||||||
|
![01-02-autofilter.png](./images/01-02-autofilter.png "")
|
||||||
|
|
||||||
|
|
||||||
|
A Filter button (![01-03-filter-icon-2.png](./images/01-03-filter-icon-2.png "")) means that a filter is applied. When you hover over the heading of a filtered column, a screen tip displays the filter applied to that column, such as "Equals a red cell color" or "Larger than 150".
|
||||||
|
|
||||||
|
![01-04-autofilter.png](./images/01-04-autofilter.png "")
|
|
@ -0,0 +1,24 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Setting an AutoFilter area on a worksheet
|
||||||
|
|
||||||
|
To set an autoFilter on a range of cells.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getActiveSheet()->setAutoFilter('A1:E20');
|
||||||
|
```
|
||||||
|
|
||||||
|
The first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless, but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.
|
||||||
|
|
||||||
|
If you want to set the whole worksheet as an autofilter region
|
||||||
|
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getActiveSheet()->setAutoFilter(
|
||||||
|
$objPHPExcel->getActiveSheet()
|
||||||
|
->calculateWorksheetDimension()
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
This enables filtering, but does not actually apply any filters.
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
PHPEXcel 1.7.8 introduced the ability to actually create, read and write filter expressions; initially only for Excel2007 files, but later releases will extend this to other formats.
|
||||||
|
|
||||||
|
To apply a filter expression to an autoFilter range, you first need to identify which column you're going to be applying this filter to.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();
|
||||||
|
$columnFilter = $autoFilter->getColumn('C');
|
||||||
|
```
|
||||||
|
|
||||||
|
This returns an autoFilter column object, and you can then apply filters to that column.
|
||||||
|
|
||||||
|
There are a number of different types of autofilter expressions. The most commonly used are:
|
||||||
|
|
||||||
|
- Simple Filters
|
||||||
|
- DateGroup Filters
|
||||||
|
- Custom filters
|
||||||
|
- Dynamic Filters
|
||||||
|
- Top Ten Filters
|
||||||
|
|
||||||
|
These different types are mutually exclusive within any single column. You should not mix the different types of filter in the same column. PHPExcel will not actively prevent you from doing this, but the results are unpredictable.
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
### Simple filters
|
||||||
|
|
||||||
|
In MS Excel, Simple Filters are a dropdown list of all values used in that column, and the user can select which ones they want to display and which ones they want to hide by ticking and unticking the checkboxes alongside each option. When the filter is applied, rows containing the checked entries will be displayed, rows that don't contain those values will be hidden.
|
||||||
|
|
||||||
|
![04-01-simple-autofilter.png](./images/04-01-simple-autofilter.png "")
|
||||||
|
|
||||||
|
To create a filter expression, we need to start by identifying the filter type. In this case, we're just going to specify that this filter is a standard filter.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setFilterType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
Now we've identified the filter type, we can create a filter rule and set the filter values:
|
||||||
|
|
||||||
|
When creating a simple filter in PHPExcel, you only need to specify the values for "checked" columns: you do this by creating a filter rule for each value.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
'France'
|
||||||
|
);
|
||||||
|
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
'Germany'
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
This creates two filter rules: the column will be filtered by values that match “France” OR “Germany”. For Simple Filters, you can create as many rules as you want
|
||||||
|
|
||||||
|
Simple filters are always a comparison match of EQUALS, and multiple standard filters are always treated as being joined by an OR condition.
|
||||||
|
|
||||||
|
#### Matching Blanks
|
||||||
|
|
||||||
|
If you want to create a filter to select blank cells, you would use:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
''
|
||||||
|
);
|
||||||
|
```
|
|
@ -0,0 +1,48 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
### DateGroup Filters
|
||||||
|
|
||||||
|
In MS Excel, DateGroup filters provide a series of dropdown filter selectors for date values, so you can specify entire years, or months within a year, or individual days within each month.
|
||||||
|
|
||||||
|
![04-02-dategroup-autofilter.png](./images/04-02-dategroup-autofilter.png "")
|
||||||
|
|
||||||
|
DateGroup filters are still applied as a Standard Filter type.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setFilterType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
Creating a dateGroup filter in PHPExcel, you specify the values for "checked" columns as an associative array of year. month, day, hour minute and second. To select a year and month, you need to create a DateGroup rule identifying the selected year and month:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
array(
|
||||||
|
'year' => 2012,
|
||||||
|
'month' => 1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
The key values for the associative array are:
|
||||||
|
|
||||||
|
- year
|
||||||
|
- month
|
||||||
|
- day
|
||||||
|
- hour
|
||||||
|
- minute
|
||||||
|
- second
|
||||||
|
|
||||||
|
Like Standard filters, DateGroup filters are always a match of EQUALS, and multiple standard filters are always treated as being joined by an OR condition.
|
||||||
|
|
||||||
|
Note that we alse specify a ruleType: to differentiate this from a standard filter, we explicitly set the Rule's Type to AUTOFILTER_RULETYPE_DATEGROUP. As with standard filters, we can create any number of DateGroup Filters.
|
||||||
|
|
|
@ -0,0 +1,84 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
### Custom filters
|
||||||
|
|
||||||
|
In MS Excel, Custom filters allow us to select more complex conditions using an operator as well as a value. Typical examples might be values that fall within a range (e.g. between -20 and +20), or text values with wildcards (e.g. beginning with the letter U). To handle this, they
|
||||||
|
|
||||||
|
![04-03-custom-autofilter-1.png](./images/04-03-custom-autofilter-1.png "")
|
||||||
|
|
||||||
|
![04-03-custom-autofilter-2.png](./images/04-03-custom-autofilter-2.png "")
|
||||||
|
|
||||||
|
Custom filters are limited to 2 rules, and these can be joined using either an AND or an OR.
|
||||||
|
|
||||||
|
We start by specifying a Filter type, this time a CUSTOMFILTER.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setFilterType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
And then define our rules.
|
||||||
|
|
||||||
|
The following shows a simple wildcard filter to show all column entries beginning with the letter 'U'.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
'U*'
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
MS Excel uses \* as a wildcard to match any number of characters, and ? as a wildcard to match a single character. 'U\*' equates to "begins with a 'U'"; '\*U' equates to "ends with a 'U'"; and '\*U\*' equates to "contains a 'U'"
|
||||||
|
|
||||||
|
If you want to match explicitly against a \* or a ? character, you can escape it with a tilde (~), so ?~\*\* would explicitly match for a \* character as the second character in the cell value, followed by any number of other characters. The only other character that needs escaping is the ~ itself.
|
||||||
|
|
||||||
|
To create a "between" condition, we need to define two rules:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL,
|
||||||
|
-20
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER
|
||||||
|
);
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL,
|
||||||
|
20
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
We also set the rule type to CUSTOMFILTER.
|
||||||
|
|
||||||
|
This defined two rules, filtering numbers that are >= -20 OR <= 20, so we also need to modify the join condition to reflect AND rather than OR.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setAndOr(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_ANDOR_AND
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
The valid set of operators for Custom Filters are defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprise:
|
||||||
|
|
||||||
|
Operator Constant | Value |
|
||||||
|
------------------------------------------|----------------------|
|
||||||
|
AUTOFILTER_COLUMN_RULE_EQUAL | 'equal' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_NOTEQUAL | 'notEqual' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_GREATERTHAN | 'greaterThan' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL | 'greaterThanOrEqual' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_LESSTHAN | 'lessThan' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL | 'lessThanOrEqual' |
|
||||||
|
|
|
@ -0,0 +1,88 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
### Dynamic Filters
|
||||||
|
|
||||||
|
Dynamic Filters are based on a dynamic comparison condition, where the value we're comparing against the cell values is variable, such as 'today'; or when we're testing against an aggregate of the cell data (e.g. 'aboveAverage'). Only a single dynamic filter can be applied to a column at a time.
|
||||||
|
|
||||||
|
![04-04-dynamic-autofilter.png](./images/04-04-dynamic-autofilter.png "")
|
||||||
|
|
||||||
|
Again, we start by specifying a Filter type, this time a DYNAMICFILTER.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setFilterType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
When defining the rule for a dynamic filter, we don't define a value (we can simply set that to NULL) but we do specify the dynamic filter category.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,
|
||||||
|
NULL,
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
We also set the rule type to DYNAMICFILTER.
|
||||||
|
|
||||||
|
The valid set of dynamic filter categories is defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprises:
|
||||||
|
|
||||||
|
Operator Constant | Value |
|
||||||
|
-----------------------------------------|----------------|
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY | 'yesterday' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_TODAY | 'today' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW | 'tomorrow' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE | 'yearToDate' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR | 'thisYear' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER | 'thisQuarter' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH | 'thisMonth' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK | 'thisWeek' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR | 'lastYear' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER | 'lastQuarter' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH | 'lastMonth' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK | 'lastWeek' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR | 'nextYear' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER | 'nextQuarter' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH | 'nextMonth' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK | 'nextWeek' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1 | 'M1' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_JANUARY | 'M1' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2 | 'M2' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_FEBRUARY | 'M2' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3 | 'M3' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MARCH | 'M3' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4 | 'M4' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_APRIL | 'M4' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5 | 'M5' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MAY | 'M5' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6 | 'M6' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_JUNE | 'M6' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7 | 'M7' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_JULY | 'M7' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8 | 'M8' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_AUGUST | 'M8' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9 | 'M9' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_SEPTEMBER | 'M9' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10 | 'M10' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_OCTOBER | 'M10' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11 | 'M11' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_NOVEMBER | 'M11' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12 | 'M12' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_DECEMBER | 'M12' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1 | 'Q1' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2 | 'Q2' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3 | 'Q3' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4 | 'Q4' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE | 'aboveAverage' |
|
||||||
|
AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE | 'belowAverage' |
|
||||||
|
|
||||||
|
We can only apply a single Dynamic Filter rule to a column at a time.
|
||||||
|
|
|
@ -0,0 +1,69 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Autofilter Expressions
|
||||||
|
|
||||||
|
### Top Ten Filters
|
||||||
|
|
||||||
|
Top Ten Filters are similar to Dynamic Filters in that they are based on a summarisation of the actual data values in the cells. However, unlike Dynamic Filters where you can only select a single option, Top Ten Filters allow you to select based on a number of criteria:
|
||||||
|
|
||||||
|
![04-05-custom-topten-1.png](./images/04-05-topten-autofilter-1.png "")
|
||||||
|
|
||||||
|
![04-05-custom-topten-2.png](./images/04-05-topten-autofilter-2.png "")
|
||||||
|
|
||||||
|
You can identify whether you want the top (highest) or bottom (lowest) values.You can identify how many values you wish to select in the filterYou can identify whether this should be a percentage or a number of items.
|
||||||
|
|
||||||
|
Like Dynamic Filters, only a single Top Ten filter can be applied to a column at a time.
|
||||||
|
|
||||||
|
We start by specifying a Filter type, this time a DYNAMICFILTER.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->setFilterType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
Then we create the rule:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT,
|
||||||
|
5,
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
This will filter the Top 5 percent of values in the column.
|
||||||
|
|
||||||
|
To specify the lowest (bottom 2 values), we would specify a rule of:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$columnFilter->createRule()
|
||||||
|
->setRule(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE,
|
||||||
|
5,
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM
|
||||||
|
)
|
||||||
|
->setRuleType(
|
||||||
|
PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
The option values for TopTen Filters top/bottom value/percent are all defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprise:
|
||||||
|
|
||||||
|
Operator Constant | Value |
|
||||||
|
---------------------------------------|-------------|
|
||||||
|
AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE | 'byValue' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT | 'byPercent' |
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
Operator Constant | Value |
|
||||||
|
-------------------------------------|----------|
|
||||||
|
AUTOFILTER_COLUMN_RULE_TOPTEN_TOP | 'top' |
|
||||||
|
AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM | 'bottom' |
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## Executing an AutoFilter
|
||||||
|
|
||||||
|
When an autofilter is applied in MS Excel, it sets the row hidden/visible flags for each row of the autofilter area based on the selected criteria, so that only those rows that match the filter criteria are displayed.
|
||||||
|
|
||||||
|
PHPExcel will not execute the equivalent function automatically when you set or change a filter expression, but only when the file is saved.
|
||||||
|
|
||||||
|
### Applying the Filter
|
||||||
|
|
||||||
|
If you wish to execute your filter from within a script, you need to do this manually. You can do this using the autofilters showHideRows() method.
|
||||||
|
|
||||||
|
```php
|
||||||
|
$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();
|
||||||
|
$autoFilter->showHideRows();
|
||||||
|
```
|
||||||
|
|
||||||
|
This will set all rows that match the filter criteria to visible, while hiding all other rows within the autofilter area.
|
||||||
|
|
||||||
|
### Displaying Filtered Rows
|
||||||
|
|
||||||
|
Simply looping through the rows in an autofilter area will still access ever row, whether it matches the filter criteria or not. To selectively access only the filtered rows, you need to test each row’s visibility settings.
|
||||||
|
|
||||||
|
```php
|
||||||
|
foreach ($objPHPExcel->getActiveSheet()->getRowIterator() as $row) {
|
||||||
|
if ($objPHPExcel->getActiveSheet()
|
||||||
|
->getRowDimension($row->getRowIndex())->getVisible()) {
|
||||||
|
echo ' Row number - ' , $row->getRowIndex() , ' ';
|
||||||
|
echo $objPHPExcel->getActiveSheet()
|
||||||
|
->getCell(
|
||||||
|
'C'.$row->getRowIndex()
|
||||||
|
)
|
||||||
|
->getValue(), ' ';
|
||||||
|
echo $objPHPExcel->getActiveSheet()
|
||||||
|
->getCell(
|
||||||
|
'D'.$row->getRowIndex()
|
||||||
|
)->getFormattedValue(), ' ';
|
||||||
|
echo EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
|
@ -0,0 +1,7 @@
|
||||||
|
# PHPExcel AutoFilter Reference
|
||||||
|
|
||||||
|
|
||||||
|
## AutoFilter Sorting
|
||||||
|
|
||||||
|
In MS Excel, Autofiltering also allows the rows to be sorted. This feature is ***not*** supported by PHPExcel.
|
||||||
|
|
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 453 B |
After Width: | Height: | Size: 640 B |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,410 @@
|
||||||
|
## CATEGORY_CUBE
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
CUBEKPIMEMBER | *** Not yet Implemented
|
||||||
|
CUBEMEMBER | *** Not yet Implemented
|
||||||
|
CUBEMEMBERPROPERTY | *** Not yet Implemented
|
||||||
|
CUBERANKEDMEMBER | *** Not yet Implemented
|
||||||
|
CUBESET | *** Not yet Implemented
|
||||||
|
CUBESETCOUNT | *** Not yet Implemented
|
||||||
|
CUBEVALUE | *** Not yet Implemented
|
||||||
|
|
||||||
|
## CATEGORY_DATABASE
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
DAVERAGE | PHPExcel_Calculation_Database::DAVERAGE
|
||||||
|
DCOUNT | PHPExcel_Calculation_Database::DCOUNT
|
||||||
|
DCOUNTA | PHPExcel_Calculation_Database::DCOUNTA
|
||||||
|
DGET | PHPExcel_Calculation_Database::DGET
|
||||||
|
DMAX | PHPExcel_Calculation_Database::DMAX
|
||||||
|
DMIN | PHPExcel_Calculation_Database::DMIN
|
||||||
|
DPRODUCT | PHPExcel_Calculation_Database::DPRODUCT
|
||||||
|
DSTDEV | PHPExcel_Calculation_Database::DSTDEV
|
||||||
|
DSTDEVP | PHPExcel_Calculation_Database::DSTDEVP
|
||||||
|
DSUM | PHPExcel_Calculation_Database::DSUM
|
||||||
|
DVAR | PHPExcel_Calculation_Database::DVAR
|
||||||
|
DVARP | PHPExcel_Calculation_Database::DVARP
|
||||||
|
|
||||||
|
## CATEGORY_DATE_AND_TIME
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
DATE | PHPExcel_Calculation_DateTime::DATE
|
||||||
|
DATEDIF | PHPExcel_Calculation_DateTime::DATEDIF
|
||||||
|
DATEVALUE | PHPExcel_Calculation_DateTime::DATEVALUE
|
||||||
|
DAY | PHPExcel_Calculation_DateTime::DAYOFMONTH
|
||||||
|
DAYS360 | PHPExcel_Calculation_DateTime::DAYS360
|
||||||
|
EDATE | PHPExcel_Calculation_DateTime::EDATE
|
||||||
|
EOMONTH | PHPExcel_Calculation_DateTime::EOMONTH
|
||||||
|
HOUR | PHPExcel_Calculation_DateTime::HOUROFDAY
|
||||||
|
MINUTE | PHPExcel_Calculation_DateTime::MINUTEOFHOUR
|
||||||
|
MONTH | PHPExcel_Calculation_DateTime::MONTHOFYEAR
|
||||||
|
NETWORKDAYS | PHPExcel_Calculation_DateTime::NETWORKDAYS
|
||||||
|
NOW | PHPExcel_Calculation_DateTime::DATETIMENOW
|
||||||
|
SECOND | PHPExcel_Calculation_DateTime::SECONDOFMINUTE
|
||||||
|
TIME | PHPExcel_Calculation_DateTime::TIME
|
||||||
|
TIMEVALUE | PHPExcel_Calculation_DateTime::TIMEVALUE
|
||||||
|
TODAY | PHPExcel_Calculation_DateTime::DATENOW
|
||||||
|
WEEKDAY | PHPExcel_Calculation_DateTime::DAYOFWEEK
|
||||||
|
WEEKNUM | PHPExcel_Calculation_DateTime::WEEKOFYEAR
|
||||||
|
WORKDAY | PHPExcel_Calculation_DateTime::WORKDAY
|
||||||
|
YEAR | PHPExcel_Calculation_DateTime::YEAR
|
||||||
|
YEARFRAC | PHPExcel_Calculation_DateTime::YEARFRAC
|
||||||
|
|
||||||
|
## CATEGORY_ENGINEERING
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
BESSELI | PHPExcel_Calculation_Engineering::BESSELI
|
||||||
|
BESSELJ | PHPExcel_Calculation_Engineering::BESSELJ
|
||||||
|
BESSELK | PHPExcel_Calculation_Engineering::BESSELK
|
||||||
|
BESSELY | PHPExcel_Calculation_Engineering::BESSELY
|
||||||
|
BIN2DEC | PHPExcel_Calculation_Engineering::BINTODEC
|
||||||
|
BIN2HEX | PHPExcel_Calculation_Engineering::BINTOHEX
|
||||||
|
BIN2OCT | PHPExcel_Calculation_Engineering::BINTOOCT
|
||||||
|
COMPLEX | PHPExcel_Calculation_Engineering::COMPLEX
|
||||||
|
CONVERT | PHPExcel_Calculation_Engineering::CONVERTUOM
|
||||||
|
DEC2BIN | PHPExcel_Calculation_Engineering::DECTOBIN
|
||||||
|
DEC2HEX | PHPExcel_Calculation_Engineering::DECTOHEX
|
||||||
|
DEC2OCT | PHPExcel_Calculation_Engineering::DECTOOCT
|
||||||
|
DELTA | PHPExcel_Calculation_Engineering::DELTA
|
||||||
|
ERF | PHPExcel_Calculation_Engineering::ERF
|
||||||
|
ERFC | PHPExcel_Calculation_Engineering::ERFC
|
||||||
|
GESTEP | PHPExcel_Calculation_Engineering::GESTEP
|
||||||
|
HEX2BIN | PHPExcel_Calculation_Engineering::HEXTOBIN
|
||||||
|
HEX2DEC | PHPExcel_Calculation_Engineering::HEXTODEC
|
||||||
|
HEX2OCT | PHPExcel_Calculation_Engineering::HEXTOOCT
|
||||||
|
IMABS | PHPExcel_Calculation_Engineering::IMABS
|
||||||
|
IMAGINARY | PHPExcel_Calculation_Engineering::IMAGINARY
|
||||||
|
IMARGUMENT | PHPExcel_Calculation_Engineering::IMARGUMENT
|
||||||
|
IMCONJUGATE | PHPExcel_Calculation_Engineering::IMCONJUGATE
|
||||||
|
IMCOS | PHPExcel_Calculation_Engineering::IMCOS
|
||||||
|
IMDIV | PHPExcel_Calculation_Engineering::IMDIV
|
||||||
|
IMEXP | PHPExcel_Calculation_Engineering::IMEXP
|
||||||
|
IMLN | PHPExcel_Calculation_Engineering::IMLN
|
||||||
|
IMLOG10 | PHPExcel_Calculation_Engineering::IMLOG10
|
||||||
|
IMLOG2 | PHPExcel_Calculation_Engineering::IMLOG2
|
||||||
|
IMPOWER | PHPExcel_Calculation_Engineering::IMPOWER
|
||||||
|
IMPRODUCT | PHPExcel_Calculation_Engineering::IMPRODUCT
|
||||||
|
IMREAL | PHPExcel_Calculation_Engineering::IMREAL
|
||||||
|
IMSIN | PHPExcel_Calculation_Engineering::IMSIN
|
||||||
|
IMSQRT | PHPExcel_Calculation_Engineering::IMSQRT
|
||||||
|
IMSUB | PHPExcel_Calculation_Engineering::IMSUB
|
||||||
|
IMSUM | PHPExcel_Calculation_Engineering::IMSUM
|
||||||
|
OCT2BIN | PHPExcel_Calculation_Engineering::OCTTOBIN
|
||||||
|
OCT2DEC | PHPExcel_Calculation_Engineering::OCTTODEC
|
||||||
|
OCT2HEX | PHPExcel_Calculation_Engineering::OCTTOHEX
|
||||||
|
|
||||||
|
## CATEGORY_FINANCIAL
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
ACCRINT | PHPExcel_Calculation_Financial::ACCRINT
|
||||||
|
ACCRINTM | PHPExcel_Calculation_Financial::ACCRINTM
|
||||||
|
AMORDEGRC | PHPExcel_Calculation_Financial::AMORDEGRC
|
||||||
|
AMORLINC | PHPExcel_Calculation_Financial::AMORLINC
|
||||||
|
COUPDAYBS | PHPExcel_Calculation_Financial::COUPDAYBS
|
||||||
|
COUPDAYS | PHPExcel_Calculation_Financial::COUPDAYS
|
||||||
|
COUPDAYSNC | PHPExcel_Calculation_Financial::COUPDAYSNC
|
||||||
|
COUPNCD | PHPExcel_Calculation_Financial::COUPNCD
|
||||||
|
COUPNUM | PHPExcel_Calculation_Financial::COUPNUM
|
||||||
|
COUPPCD | PHPExcel_Calculation_Financial::COUPPCD
|
||||||
|
CUMIPMT | PHPExcel_Calculation_Financial::CUMIPMT
|
||||||
|
CUMPRINC | PHPExcel_Calculation_Financial::CUMPRINC
|
||||||
|
DB | PHPExcel_Calculation_Financial::DB
|
||||||
|
DDB | PHPExcel_Calculation_Financial::DDB
|
||||||
|
DISC | PHPExcel_Calculation_Financial::DISC
|
||||||
|
DOLLARDE | PHPExcel_Calculation_Financial::DOLLARDE
|
||||||
|
DOLLARFR | PHPExcel_Calculation_Financial::DOLLARFR
|
||||||
|
DURATION | *** Not yet Implemented
|
||||||
|
EFFECT | PHPExcel_Calculation_Financial::EFFECT
|
||||||
|
FV | PHPExcel_Calculation_Financial::FV
|
||||||
|
FVSCHEDULE | PHPExcel_Calculation_Financial::FVSCHEDULE
|
||||||
|
INTRATE | PHPExcel_Calculation_Financial::INTRATE
|
||||||
|
IPMT | PHPExcel_Calculation_Financial::IPMT
|
||||||
|
IRR | PHPExcel_Calculation_Financial::IRR
|
||||||
|
ISPMT | PHPExcel_Calculation_Financial::ISPMT
|
||||||
|
MDURATION | *** Not yet Implemented
|
||||||
|
MIRR | PHPExcel_Calculation_Financial::MIRR
|
||||||
|
NOMINAL | PHPExcel_Calculation_Financial::NOMINAL
|
||||||
|
NPER | PHPExcel_Calculation_Financial::NPER
|
||||||
|
NPV | PHPExcel_Calculation_Financial::NPV
|
||||||
|
ODDFPRICE | *** Not yet Implemented
|
||||||
|
ODDFYIELD | *** Not yet Implemented
|
||||||
|
ODDLPRICE | *** Not yet Implemented
|
||||||
|
ODDLYIELD | *** Not yet Implemented
|
||||||
|
PMT | PHPExcel_Calculation_Financial::PMT
|
||||||
|
PPMT | PHPExcel_Calculation_Financial::PPMT
|
||||||
|
PRICE | PHPExcel_Calculation_Financial::PRICE
|
||||||
|
PRICEDISC | PHPExcel_Calculation_Financial::PRICEDISC
|
||||||
|
PRICEMAT | PHPExcel_Calculation_Financial::PRICEMAT
|
||||||
|
PV | PHPExcel_Calculation_Financial::PV
|
||||||
|
RATE | PHPExcel_Calculation_Financial::RATE
|
||||||
|
RECEIVED | PHPExcel_Calculation_Financial::RECEIVED
|
||||||
|
SLN | PHPExcel_Calculation_Financial::SLN
|
||||||
|
SYD | PHPExcel_Calculation_Financial::SYD
|
||||||
|
TBILLEQ | PHPExcel_Calculation_Financial::TBILLEQ
|
||||||
|
TBILLPRICE | PHPExcel_Calculation_Financial::TBILLPRICE
|
||||||
|
TBILLYIELD | PHPExcel_Calculation_Financial::TBILLYIELD
|
||||||
|
USDOLLAR | *** Not yet Implemented
|
||||||
|
VDB | *** Not yet Implemented
|
||||||
|
XIRR | PHPExcel_Calculation_Financial::XIRR
|
||||||
|
XNPV | PHPExcel_Calculation_Financial::XNPV
|
||||||
|
YIELD | *** Not yet Implemented
|
||||||
|
YIELDDISC | PHPExcel_Calculation_Financial::YIELDDISC
|
||||||
|
YIELDMAT | PHPExcel_Calculation_Financial::YIELDMAT
|
||||||
|
|
||||||
|
## CATEGORY_INFORMATION
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
CELL *** Not yet Implemented
|
||||||
|
ERROR.TYPE PHPExcel_Calculation_Functions::ERROR_TYPE
|
||||||
|
INFO *** Not yet Implemented
|
||||||
|
ISBLANK PHPExcel_Calculation_Functions::IS_BLANK
|
||||||
|
ISERR PHPExcel_Calculation_Functions::IS_ERR
|
||||||
|
ISERROR PHPExcel_Calculation_Functions::IS_ERROR
|
||||||
|
ISEVEN PHPExcel_Calculation_Functions::IS_EVEN
|
||||||
|
ISLOGICAL PHPExcel_Calculation_Functions::IS_LOGICAL
|
||||||
|
ISNA PHPExcel_Calculation_Functions::IS_NA
|
||||||
|
ISNONTEXT PHPExcel_Calculation_Functions::IS_NONTEXT
|
||||||
|
ISNUMBER PHPExcel_Calculation_Functions::IS_NUMBER
|
||||||
|
ISODD PHPExcel_Calculation_Functions::IS_ODD
|
||||||
|
ISREF *** Not yet Implemented
|
||||||
|
ISTEXT PHPExcel_Calculation_Functions::IS_TEXT
|
||||||
|
N PHPExcel_Calculation_Functions::N
|
||||||
|
NA PHPExcel_Calculation_Functions::NA
|
||||||
|
TYPE PHPExcel_Calculation_Functions::TYPE
|
||||||
|
VERSION PHPExcel_Calculation_Functions::VERSION
|
||||||
|
|
||||||
|
## CATEGORY_LOGICAL
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
AND PHPExcel_Calculation_Logical::LOGICAL_AND
|
||||||
|
FALSE PHPExcel_Calculation_Logical::FALSE
|
||||||
|
IF PHPExcel_Calculation_Logical::STATEMENT_IF
|
||||||
|
IFERROR PHPExcel_Calculation_Logical::IFERROR
|
||||||
|
NOT PHPExcel_Calculation_Logical::NOT
|
||||||
|
OR PHPExcel_Calculation_Logical::LOGICAL_OR
|
||||||
|
TRUE PHPExcel_Calculation_Logical::TRUE
|
||||||
|
|
||||||
|
## CATEGORY_LOOKUP_AND_REFERENCE
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
ADDRESS PHPExcel_Calculation_LookupRef::CELL_ADDRESS
|
||||||
|
AREAS *** Not yet Implemented
|
||||||
|
CHOOSE PHPExcel_Calculation_LookupRef::CHOOSE
|
||||||
|
COLUMN PHPExcel_Calculation_LookupRef::COLUMN
|
||||||
|
COLUMNS PHPExcel_Calculation_LookupRef::COLUMNS
|
||||||
|
GETPIVOTDATA *** Not yet Implemented
|
||||||
|
HLOOKUP *** Not yet Implemented
|
||||||
|
HYPERLINK PHPExcel_Calculation_LookupRef::HYPERLINK
|
||||||
|
INDEX PHPExcel_Calculation_LookupRef::INDEX
|
||||||
|
INDIRECT PHPExcel_Calculation_LookupRef::INDIRECT
|
||||||
|
LOOKUP PHPExcel_Calculation_LookupRef::LOOKUP
|
||||||
|
MATCH PHPExcel_Calculation_LookupRef::MATCH
|
||||||
|
OFFSET PHPExcel_Calculation_LookupRef::OFFSET
|
||||||
|
ROW PHPExcel_Calculation_LookupRef::ROW
|
||||||
|
ROWS PHPExcel_Calculation_LookupRef::ROWS
|
||||||
|
RTD *** Not yet Implemented
|
||||||
|
TRANSPOSE PHPExcel_Calculation_LookupRef::TRANSPOSE
|
||||||
|
VLOOKUP PHPExcel_Calculation_LookupRef::VLOOKUP
|
||||||
|
|
||||||
|
## CATEGORY_MATH_AND_TRIG
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
ABS abs
|
||||||
|
ACOS acos
|
||||||
|
ACOSH acosh
|
||||||
|
ASIN asin
|
||||||
|
ASINH asinh
|
||||||
|
ATAN atan
|
||||||
|
ATAN2 PHPExcel_Calculation_MathTrig::REVERSE_ATAN2
|
||||||
|
ATANH atanh
|
||||||
|
CEILING PHPExcel_Calculation_MathTrig::CEILING
|
||||||
|
COMBIN PHPExcel_Calculation_MathTrig::COMBIN
|
||||||
|
COS cos
|
||||||
|
COSH cosh
|
||||||
|
DEGREES rad2deg
|
||||||
|
EVEN PHPExcel_Calculation_MathTrig::EVEN
|
||||||
|
EXP exp
|
||||||
|
FACT PHPExcel_Calculation_MathTrig::FACT
|
||||||
|
FACTDOUBLE PHPExcel_Calculation_MathTrig::FACTDOUBLE
|
||||||
|
FLOOR PHPExcel_Calculation_MathTrig::FLOOR
|
||||||
|
GCD PHPExcel_Calculation_MathTrig::GCD
|
||||||
|
INT PHPExcel_Calculation_MathTrig::INT
|
||||||
|
LCM PHPExcel_Calculation_MathTrig::LCM
|
||||||
|
LN log
|
||||||
|
LOG PHPExcel_Calculation_MathTrig::LOG_BASE
|
||||||
|
LOG10 log10
|
||||||
|
MDETERM PHPExcel_Calculation_MathTrig::MDETERM
|
||||||
|
MINVERSE PHPExcel_Calculation_MathTrig::MINVERSE
|
||||||
|
MMULT PHPExcel_Calculation_MathTrig::MMULT
|
||||||
|
MOD PHPExcel_Calculation_MathTrig::MOD
|
||||||
|
MROUND PHPExcel_Calculation_MathTrig::MROUND
|
||||||
|
MULTINOMIAL PHPExcel_Calculation_MathTrig::MULTINOMIAL
|
||||||
|
ODD PHPExcel_Calculation_MathTrig::ODD
|
||||||
|
PI pi
|
||||||
|
POWER PHPExcel_Calculation_MathTrig::POWER
|
||||||
|
PRODUCT PHPExcel_Calculation_MathTrig::PRODUCT
|
||||||
|
QUOTIENT PHPExcel_Calculation_MathTrig::QUOTIENT
|
||||||
|
RADIANS deg2rad
|
||||||
|
RAND PHPExcel_Calculation_MathTrig::RAND
|
||||||
|
RANDBETWEEN PHPExcel_Calculation_MathTrig::RAND
|
||||||
|
ROMAN PHPExcel_Calculation_MathTrig::ROMAN
|
||||||
|
ROUND round
|
||||||
|
ROUNDDOWN PHPExcel_Calculation_MathTrig::ROUNDDOWN
|
||||||
|
ROUNDUP PHPExcel_Calculation_MathTrig::ROUNDUP
|
||||||
|
SERIESSUM PHPExcel_Calculation_MathTrig::SERIESSUM
|
||||||
|
SIGN PHPExcel_Calculation_MathTrig::SIGN
|
||||||
|
SIN sin
|
||||||
|
SINH sinh
|
||||||
|
SQRT sqrt
|
||||||
|
SQRTPI PHPExcel_Calculation_MathTrig::SQRTPI
|
||||||
|
SUBTOTAL PHPExcel_Calculation_MathTrig::SUBTOTAL
|
||||||
|
SUM PHPExcel_Calculation_MathTrig::SUM
|
||||||
|
SUMIF PHPExcel_Calculation_MathTrig::SUMIF
|
||||||
|
SUMIFS *** Not yet Implemented
|
||||||
|
SUMPRODUCT PHPExcel_Calculation_MathTrig::SUMPRODUCT
|
||||||
|
SUMSQ PHPExcel_Calculation_MathTrig::SUMSQ
|
||||||
|
SUMX2MY2 PHPExcel_Calculation_MathTrig::SUMX2MY2
|
||||||
|
SUMX2PY2 PHPExcel_Calculation_MathTrig::SUMX2PY2
|
||||||
|
SUMXMY2 PHPExcel_Calculation_MathTrig::SUMXMY2
|
||||||
|
TAN tan
|
||||||
|
TANH tanh
|
||||||
|
TRUNC PHPExcel_Calculation_MathTrig::TRUNC
|
||||||
|
|
||||||
|
## CATEGORY_STATISTICAL
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
AVEDEV PHPExcel_Calculation_Statistical::AVEDEV
|
||||||
|
AVERAGE PHPExcel_Calculation_Statistical::AVERAGE
|
||||||
|
AVERAGEA PHPExcel_Calculation_Statistical::AVERAGEA
|
||||||
|
AVERAGEIF PHPExcel_Calculation_Statistical::AVERAGEIF
|
||||||
|
AVERAGEIFS *** Not yet Implemented
|
||||||
|
BETADIST PHPExcel_Calculation_Statistical::BETADIST
|
||||||
|
BETAINV PHPExcel_Calculation_Statistical::BETAINV
|
||||||
|
BINOMDIST PHPExcel_Calculation_Statistical::BINOMDIST
|
||||||
|
CHIDIST PHPExcel_Calculation_Statistical::CHIDIST
|
||||||
|
CHIINV PHPExcel_Calculation_Statistical::CHIINV
|
||||||
|
CHITEST *** Not yet Implemented
|
||||||
|
CONFIDENCE PHPExcel_Calculation_Statistical::CONFIDENCE
|
||||||
|
CORREL PHPExcel_Calculation_Statistical::CORREL
|
||||||
|
COUNT PHPExcel_Calculation_Statistical::COUNT
|
||||||
|
COUNTA PHPExcel_Calculation_Statistical::COUNTA
|
||||||
|
COUNTBLANK PHPExcel_Calculation_Statistical::COUNTBLANK
|
||||||
|
COUNTIF PHPExcel_Calculation_Statistical::COUNTIF
|
||||||
|
COUNTIFS *** Not yet Implemented
|
||||||
|
COVAR PHPExcel_Calculation_Statistical::COVAR
|
||||||
|
CRITBINOM PHPExcel_Calculation_Statistical::CRITBINOM
|
||||||
|
DEVSQ PHPExcel_Calculation_Statistical::DEVSQ
|
||||||
|
EXPONDIST PHPExcel_Calculation_Statistical::EXPONDIST
|
||||||
|
FDIST *** Not yet Implemented
|
||||||
|
FINV *** Not yet Implemented
|
||||||
|
FISHER PHPExcel_Calculation_Statistical::FISHER
|
||||||
|
FISHERINV PHPExcel_Calculation_Statistical::FISHERINV
|
||||||
|
FORECAST PHPExcel_Calculation_Statistical::FORECAST
|
||||||
|
FREQUENCY *** Not yet Implemented
|
||||||
|
FTEST *** Not yet Implemented
|
||||||
|
GAMMADIST PHPExcel_Calculation_Statistical::GAMMADIST
|
||||||
|
GAMMAINV PHPExcel_Calculation_Statistical::GAMMAINV
|
||||||
|
GAMMALN PHPExcel_Calculation_Statistical::GAMMALN
|
||||||
|
GEOMEAN PHPExcel_Calculation_Statistical::GEOMEAN
|
||||||
|
GROWTH PHPExcel_Calculation_Statistical::GROWTH
|
||||||
|
HARMEAN PHPExcel_Calculation_Statistical::HARMEAN
|
||||||
|
HYPGEOMDIST PHPExcel_Calculation_Statistical::HYPGEOMDIST
|
||||||
|
INTERCEPT PHPExcel_Calculation_Statistical::INTERCEPT
|
||||||
|
KURT PHPExcel_Calculation_Statistical::KURT
|
||||||
|
LARGE PHPExcel_Calculation_Statistical::LARGE
|
||||||
|
LINEST PHPExcel_Calculation_Statistical::LINEST
|
||||||
|
LOGEST PHPExcel_Calculation_Statistical::LOGEST
|
||||||
|
LOGINV PHPExcel_Calculation_Statistical::LOGINV
|
||||||
|
LOGNORMDIST PHPExcel_Calculation_Statistical::LOGNORMDIST
|
||||||
|
MAX PHPExcel_Calculation_Statistical::MAX
|
||||||
|
MAXA PHPExcel_Calculation_Statistical::MAXA
|
||||||
|
MAXIF PHPExcel_Calculation_Statistical::MAXIF
|
||||||
|
MEDIAN PHPExcel_Calculation_Statistical::MEDIAN
|
||||||
|
MEDIANIF *** Not yet Implemented
|
||||||
|
MIN PHPExcel_Calculation_Statistical::MIN
|
||||||
|
MINA PHPExcel_Calculation_Statistical::MINA
|
||||||
|
MINIF PHPExcel_Calculation_Statistical::MINIF
|
||||||
|
MODE PHPExcel_Calculation_Statistical::MODE
|
||||||
|
NEGBINOMDIST PHPExcel_Calculation_Statistical::NEGBINOMDIST
|
||||||
|
NORMDIST PHPExcel_Calculation_Statistical::NORMDIST
|
||||||
|
NORMINV PHPExcel_Calculation_Statistical::NORMINV
|
||||||
|
NORMSDIST PHPExcel_Calculation_Statistical::NORMSDIST
|
||||||
|
NORMSINV PHPExcel_Calculation_Statistical::NORMSINV
|
||||||
|
PEARSON PHPExcel_Calculation_Statistical::CORREL
|
||||||
|
PERCENTILE PHPExcel_Calculation_Statistical::PERCENTILE
|
||||||
|
PERCENTRANK PHPExcel_Calculation_Statistical::PERCENTRANK
|
||||||
|
PERMUT PHPExcel_Calculation_Statistical::PERMUT
|
||||||
|
POISSON PHPExcel_Calculation_Statistical::POISSON
|
||||||
|
PROB *** Not yet Implemented
|
||||||
|
QUARTILE PHPExcel_Calculation_Statistical::QUARTILE
|
||||||
|
RANK PHPExcel_Calculation_Statistical::RANK
|
||||||
|
RSQ PHPExcel_Calculation_Statistical::RSQ
|
||||||
|
SKEW PHPExcel_Calculation_Statistical::SKEW
|
||||||
|
SLOPE PHPExcel_Calculation_Statistical::SLOPE
|
||||||
|
SMALL PHPExcel_Calculation_Statistical::SMALL
|
||||||
|
STANDARDIZE PHPExcel_Calculation_Statistical::STANDARDIZE
|
||||||
|
STDEV PHPExcel_Calculation_Statistical::STDEV
|
||||||
|
STDEVA PHPExcel_Calculation_Statistical::STDEVA
|
||||||
|
STDEVP PHPExcel_Calculation_Statistical::STDEVP
|
||||||
|
STDEVPA PHPExcel_Calculation_Statistical::STDEVPA
|
||||||
|
STEYX PHPExcel_Calculation_Statistical::STEYX
|
||||||
|
TDIST PHPExcel_Calculation_Statistical::TDIST
|
||||||
|
TINV PHPExcel_Calculation_Statistical::TINV
|
||||||
|
TREND PHPExcel_Calculation_Statistical::TREND
|
||||||
|
TRIMMEAN PHPExcel_Calculation_Statistical::TRIMMEAN
|
||||||
|
TTEST *** Not yet Implemented
|
||||||
|
VAR PHPExcel_Calculation_Statistical::VARFunc
|
||||||
|
VARA PHPExcel_Calculation_Statistical::VARA
|
||||||
|
VARP PHPExcel_Calculation_Statistical::VARP
|
||||||
|
VARPA PHPExcel_Calculation_Statistical::VARPA
|
||||||
|
WEIBULL PHPExcel_Calculation_Statistical::WEIBULL
|
||||||
|
ZTEST PHPExcel_Calculation_Statistical::ZTEST
|
||||||
|
|
||||||
|
## CATEGORY_TEXT_AND_DATA
|
||||||
|
|
||||||
|
Excel Function | PHPExcel Function
|
||||||
|
------------------------|-------------------------------------------
|
||||||
|
ASC *** Not yet Implemented
|
||||||
|
BAHTTEXT *** Not yet Implemented
|
||||||
|
CHAR PHPExcel_Calculation_TextData::CHARACTER
|
||||||
|
CLEAN PHPExcel_Calculation_TextData::TRIMNONPRINTABLE
|
||||||
|
CODE PHPExcel_Calculation_TextData::ASCIICODE
|
||||||
|
CONCATENATE PHPExcel_Calculation_TextData::CONCATENATE
|
||||||
|
DOLLAR PHPExcel_Calculation_TextData::DOLLAR
|
||||||
|
EXACT *** Not yet Implemented
|
||||||
|
FIND PHPExcel_Calculation_TextData::SEARCHSENSITIVE
|
||||||
|
FINDB PHPExcel_Calculation_TextData::SEARCHSENSITIVE
|
||||||
|
FIXED PHPExcel_Calculation_TextData::FIXEDFORMAT
|
||||||
|
JIS *** Not yet Implemented
|
||||||
|
LEFT PHPExcel_Calculation_TextData::LEFT
|
||||||
|
LEFTB PHPExcel_Calculation_TextData::LEFT
|
||||||
|
LEN PHPExcel_Calculation_TextData::STRINGLENGTH
|
||||||
|
LENB PHPExcel_Calculation_TextData::STRINGLENGTH
|
||||||
|
LOWER PHPExcel_Calculation_TextData::LOWERCASE
|
||||||
|
MID PHPExcel_Calculation_TextData::MID
|
||||||
|
MIDB PHPExcel_Calculation_TextData::MID
|
||||||
|
PHONETIC *** Not yet Implemented
|
||||||
|
PROPER PHPExcel_Calculation_TextData::PROPERCASE
|
||||||
|
REPLACE PHPExcel_Calculation_TextData::REPLACE
|
||||||
|
REPLACEB PHPExcel_Calculation_TextData::REPLACE
|
||||||
|
REPT str_repeat
|
||||||
|
RIGHT PHPExcel_Calculation_TextData::RIGHT
|
||||||
|
RIGHTB PHPExcel_Calculation_TextData::RIGHT
|
||||||
|
SEARCH PHPExcel_Calculation_TextData::SEARCHINSENSITIVE
|
||||||
|
SEARCHB PHPExcel_Calculation_TextData::SEARCHINSENSITIVE
|
||||||
|
SUBSTITUTE PHPExcel_Calculation_TextData::SUBSTITUTE
|
||||||
|
T PHPExcel_Calculation_TextData::RETURNSTRING
|
||||||
|
TEXT PHPExcel_Calculation_TextData::TEXTFORMAT
|
||||||
|
TRIM PHPExcel_Calculation_TextData::TRIMSPACES
|
||||||
|
UPPER PHPExcel_Calculation_TextData::UPPERCASE
|
||||||
|
VALUE *** Not yet Implemented
|
|
@ -0,0 +1,381 @@
|
||||||
|
ABS CATEGORY_MATH_AND_TRIG abs
|
||||||
|
ACCRINT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ACCRINT
|
||||||
|
ACCRINTM CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ACCRINTM
|
||||||
|
ACOS CATEGORY_MATH_AND_TRIG acos
|
||||||
|
ACOSH CATEGORY_MATH_AND_TRIG acosh
|
||||||
|
ADDRESS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::CELL_ADDRESS
|
||||||
|
AMORDEGRC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::AMORDEGRC
|
||||||
|
AMORLINC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::AMORLINC
|
||||||
|
AND CATEGORY_LOGICAL PHPExcel_Calculation_Logical::LOGICAL_AND
|
||||||
|
AREAS CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented
|
||||||
|
ASC CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
ASIN CATEGORY_MATH_AND_TRIG asin
|
||||||
|
ASINH CATEGORY_MATH_AND_TRIG asinh
|
||||||
|
ATAN CATEGORY_MATH_AND_TRIG atan
|
||||||
|
ATAN2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::REVERSE_ATAN2
|
||||||
|
ATANH CATEGORY_MATH_AND_TRIG atanh
|
||||||
|
AVEDEV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVEDEV
|
||||||
|
AVERAGE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGE
|
||||||
|
AVERAGEA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGEA
|
||||||
|
AVERAGEIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGEIF
|
||||||
|
AVERAGEIFS CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
|
||||||
|
BAHTTEXT CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
BESSELI CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELI
|
||||||
|
BESSELJ CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELJ
|
||||||
|
BESSELK CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELK
|
||||||
|
BESSELY CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELY
|
||||||
|
BETADIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BETADIST
|
||||||
|
BETAINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BETAINV
|
||||||
|
BIN2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTODEC
|
||||||
|
BIN2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTOHEX
|
||||||
|
BIN2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTOOCT
|
||||||
|
BINOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BINOMDIST
|
||||||
|
|
||||||
|
CEILING CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::CEILING
|
||||||
|
CELL CATEGORY_INFORMATION *** Not yet Implemented
|
||||||
|
CHAR CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::CHARACTER
|
||||||
|
CHIDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CHIDIST
|
||||||
|
CHIINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CHIINV
|
||||||
|
CHITEST CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
CHOOSE CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::CHOOSE
|
||||||
|
CLEAN CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TRIMNONPRINTABLE
|
||||||
|
CODE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::ASCIICODE
|
||||||
|
COLUMN CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::COLUMN
|
||||||
|
COLUMNS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::COLUMNS
|
||||||
|
COMBIN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::COMBIN
|
||||||
|
COMPLEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::COMPLEX
|
||||||
|
CONCATENATE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::CONCATENATE
|
||||||
|
CONFIDENCE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CONFIDENCE
|
||||||
|
CONVERT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::CONVERTUOM
|
||||||
|
CORREL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CORREL
|
||||||
|
COS CATEGORY_MATH_AND_TRIG cos
|
||||||
|
COSH CATEGORY_MATH_AND_TRIG cosh
|
||||||
|
COUNT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNT
|
||||||
|
COUNTA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTA
|
||||||
|
COUNTBLANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTBLANK
|
||||||
|
COUNTIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTIF
|
||||||
|
COUNTIFS CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
COUPDAYBS CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYBS
|
||||||
|
COUPDAYS CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYS
|
||||||
|
COUPDAYSNC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYSNC
|
||||||
|
COUPNCD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPNCD
|
||||||
|
COUPNUM CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPNUM
|
||||||
|
COUPPCD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPPCD
|
||||||
|
COVAR CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COVAR
|
||||||
|
CRITBINOM CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CRITBINOM
|
||||||
|
CUBEKPIMEMBER CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBEMEMBER CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBEMEMBERPROPERTY CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBERANKEDMEMBER CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBESET CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBESETCOUNT CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUBEVALUE CATEGORY_CUBE *** Not yet Implemented
|
||||||
|
CUMIPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::CUMIPMT
|
||||||
|
CUMPRINC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::CUMPRINC
|
||||||
|
|
||||||
|
DATE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATE
|
||||||
|
DATEDIF CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATEDIF
|
||||||
|
DATEVALUE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATEVALUE
|
||||||
|
DAVERAGE CATEGORY_DATABASE PHPExcel_Calculation_Database::DAVERAGE
|
||||||
|
DAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DAYOFMONTH
|
||||||
|
DAYS360 CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DAYS360
|
||||||
|
DB CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DB
|
||||||
|
DCOUNT CATEGORY_DATABASE PHPExcel_Calculation_Database::DCOUNT
|
||||||
|
DCOUNTA CATEGORY_DATABASE PHPExcel_Calculation_Database::DCOUNTA
|
||||||
|
DDB CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DDB
|
||||||
|
DEC2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOBIN
|
||||||
|
DEC2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOHEX
|
||||||
|
DEC2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOOCT
|
||||||
|
DEGREES CATEGORY_MATH_AND_TRIG rad2deg
|
||||||
|
DELTA CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DELTA
|
||||||
|
DEVSQ CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::DEVSQ
|
||||||
|
DGET CATEGORY_DATABASE PHPExcel_Calculation_Database::DGET
|
||||||
|
DISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DISC
|
||||||
|
DMAX CATEGORY_DATABASE PHPExcel_Calculation_Database::DMAX
|
||||||
|
DMIN CATEGORY_DATABASE PHPExcel_Calculation_Database::DMIN
|
||||||
|
DOLLAR CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::DOLLAR
|
||||||
|
DOLLARDE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DOLLARDE
|
||||||
|
DOLLARFR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DOLLARFR
|
||||||
|
DPRODUCT CATEGORY_DATABASE PHPExcel_Calculation_Database::DPRODUCT
|
||||||
|
DSTDEV CATEGORY_DATABASE PHPExcel_Calculation_Database::DSTDEV
|
||||||
|
DSTDEVP CATEGORY_DATABASE PHPExcel_Calculation_Database::DSTDEVP
|
||||||
|
DSUM CATEGORY_DATABASE PHPExcel_Calculation_Database::DSUM
|
||||||
|
DURATION CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
DVAR CATEGORY_DATABASE PHPExcel_Calculation_Database::DVAR
|
||||||
|
DVARP CATEGORY_DATABASE PHPExcel_Calculation_Database::DVARP
|
||||||
|
|
||||||
|
EDATE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::EDATE
|
||||||
|
EFFECT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::EFFECT
|
||||||
|
EOMONTH CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::EOMONTH
|
||||||
|
ERF CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::ERF
|
||||||
|
ERFC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::ERFC
|
||||||
|
ERROR.TYPE CATEGORY_INFORMATION PHPExcel_Calculation_Functions::ERROR_TYPE
|
||||||
|
EVEN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::EVEN
|
||||||
|
EXACT CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
EXP CATEGORY_MATH_AND_TRIG exp
|
||||||
|
EXPONDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::EXPONDIST
|
||||||
|
|
||||||
|
FACT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FACT
|
||||||
|
FACTDOUBLE CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FACTDOUBLE
|
||||||
|
FALSE CATEGORY_LOGICAL PHPExcel_Calculation_Logical::FALSE
|
||||||
|
FDIST CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
FIND CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHSENSITIVE
|
||||||
|
FINDB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHSENSITIVE
|
||||||
|
FINV CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
FISHER CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FISHER
|
||||||
|
FISHERINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FISHERINV
|
||||||
|
FIXED CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::FIXEDFORMAT
|
||||||
|
FLOOR CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FLOOR
|
||||||
|
FORECAST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FORECAST
|
||||||
|
FREQUENCY CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
FTEST CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
FV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::FV
|
||||||
|
FVSCHEDULE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::FVSCHEDULE
|
||||||
|
|
||||||
|
GAMMADIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMADIST
|
||||||
|
GAMMAINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMAINV
|
||||||
|
GAMMALN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMALN
|
||||||
|
GCD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::GCD
|
||||||
|
GEOMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GEOMEAN
|
||||||
|
GESTEP CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::GESTEP
|
||||||
|
GETPIVOTDATA CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented
|
||||||
|
GROWTH CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GROWTH
|
||||||
|
|
||||||
|
HARMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::HARMEAN
|
||||||
|
HEX2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTOBIN
|
||||||
|
HEX2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTODEC
|
||||||
|
HEX2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTOOCT
|
||||||
|
HLOOKUP CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented
|
||||||
|
HOUR CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::HOUROFDAY
|
||||||
|
HYPERLINK CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::HYPERLINK
|
||||||
|
HYPGEOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::HYPGEOMDIST
|
||||||
|
|
||||||
|
IF CATEGORY_LOGICAL PHPExcel_Calculation_Logical::STATEMENT_IF
|
||||||
|
IFERROR CATEGORY_LOGICAL PHPExcel_Calculation_Logical::IFERROR
|
||||||
|
IMABS CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMABS
|
||||||
|
IMAGINARY CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMAGINARY
|
||||||
|
IMARGUMENT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMARGUMENT
|
||||||
|
IMCONJUGATE CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMCONJUGATE
|
||||||
|
IMCOS CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMCOS
|
||||||
|
IMDIV CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMDIV
|
||||||
|
IMEXP CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMEXP
|
||||||
|
IMLN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLN
|
||||||
|
IMLOG10 CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLOG10
|
||||||
|
IMLOG2 CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLOG2
|
||||||
|
IMPOWER CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMPOWER
|
||||||
|
IMPRODUCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMPRODUCT
|
||||||
|
IMREAL CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMREAL
|
||||||
|
IMSIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSIN
|
||||||
|
IMSQRT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSQRT
|
||||||
|
IMSUB CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSUB
|
||||||
|
IMSUM CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSUM
|
||||||
|
INDEX CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::INDEX
|
||||||
|
INDIRECT CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::INDIRECT
|
||||||
|
INFO CATEGORY_INFORMATION *** Not yet Implemented
|
||||||
|
INT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::INT
|
||||||
|
INTERCEPT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::INTERCEPT
|
||||||
|
INTRATE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::INTRATE
|
||||||
|
IPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::IPMT
|
||||||
|
IRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::IRR
|
||||||
|
ISBLANK CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_BLANK
|
||||||
|
ISERR CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ERR
|
||||||
|
ISERROR CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ERROR
|
||||||
|
ISEVEN CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_EVEN
|
||||||
|
ISLOGICAL CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_LOGICAL
|
||||||
|
ISNA CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NA
|
||||||
|
ISNONTEXT CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NONTEXT
|
||||||
|
ISNUMBER CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NUMBER
|
||||||
|
ISODD CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ODD
|
||||||
|
ISPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ISPMT
|
||||||
|
ISREF CATEGORY_INFORMATION *** Not yet Implemented
|
||||||
|
ISTEXT CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_TEXT
|
||||||
|
|
||||||
|
JIS CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
|
||||||
|
KURT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::KURT
|
||||||
|
|
||||||
|
LARGE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LARGE
|
||||||
|
LCM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::LCM
|
||||||
|
LEFT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LEFT
|
||||||
|
LEFTB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LEFT
|
||||||
|
LEN CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::STRINGLENGTH
|
||||||
|
LENB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::STRINGLENGTH
|
||||||
|
LINEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LINEST
|
||||||
|
LN CATEGORY_MATH_AND_TRIG log
|
||||||
|
LOG CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::LOG_BASE
|
||||||
|
LOG10 CATEGORY_MATH_AND_TRIG log10
|
||||||
|
LOGEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGEST
|
||||||
|
LOGINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGINV
|
||||||
|
LOGNORMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGNORMDIST
|
||||||
|
LOOKUP CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::LOOKUP
|
||||||
|
LOWER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LOWERCASE
|
||||||
|
|
||||||
|
MATCH CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::MATCH
|
||||||
|
MAX CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAX
|
||||||
|
MAXA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAXA
|
||||||
|
MAXIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAXIF
|
||||||
|
MDETERM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MDETERM
|
||||||
|
MDURATION CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
MEDIAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MEDIAN
|
||||||
|
MEDIANIF CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
MID CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::MID
|
||||||
|
MIDB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::MID
|
||||||
|
MIN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MIN
|
||||||
|
MINA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MINA
|
||||||
|
MINIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MINIF
|
||||||
|
MINUTE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::MINUTEOFHOUR
|
||||||
|
MINVERSE CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MINVERSE
|
||||||
|
MIRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::MIRR
|
||||||
|
MMULT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MMULT
|
||||||
|
MOD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MOD
|
||||||
|
MODE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MODE
|
||||||
|
MONTH CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::MONTHOFYEAR
|
||||||
|
MROUND CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MROUND
|
||||||
|
MULTINOMIAL CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MULTINOMIAL
|
||||||
|
|
||||||
|
N CATEGORY_INFORMATION PHPExcel_Calculation_Functions::N
|
||||||
|
NA CATEGORY_INFORMATION PHPExcel_Calculation_Functions::NA
|
||||||
|
NEGBINOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NEGBINOMDIST
|
||||||
|
NETWORKDAYS CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::NETWORKDAYS
|
||||||
|
NOMINAL CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NOMINAL
|
||||||
|
NORMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMDIST
|
||||||
|
NORMINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMINV
|
||||||
|
NORMSDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMSDIST
|
||||||
|
NORMSINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMSINV
|
||||||
|
NOT CATEGORY_LOGICAL PHPExcel_Calculation_Logical::NOT
|
||||||
|
NOW CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATETIMENOW
|
||||||
|
NPER CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NPER
|
||||||
|
NPV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NPV
|
||||||
|
|
||||||
|
OCT2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTOBIN
|
||||||
|
OCT2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTODEC
|
||||||
|
OCT2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTOHEX
|
||||||
|
ODD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ODD
|
||||||
|
ODDFPRICE CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
ODDFYIELD CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
ODDLPRICE CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
ODDLYIELD CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
OFFSET CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::OFFSET
|
||||||
|
OR CATEGORY_LOGICAL PHPExcel_Calculation_Logical::LOGICAL_OR
|
||||||
|
|
||||||
|
PEARSON CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CORREL
|
||||||
|
PERCENTILE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERCENTILE
|
||||||
|
PERCENTRANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERCENTRANK
|
||||||
|
PERMUT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERMUT
|
||||||
|
PHONETIC CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
PI CATEGORY_MATH_AND_TRIG pi
|
||||||
|
PMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PMT
|
||||||
|
POISSON CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::POISSON
|
||||||
|
POWER CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::POWER
|
||||||
|
PPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PPMT
|
||||||
|
PRICE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICE
|
||||||
|
PRICEDISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICEDISC
|
||||||
|
PRICEMAT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICEMAT
|
||||||
|
PROB CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
PRODUCT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::PRODUCT
|
||||||
|
PROPER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::PROPERCASE
|
||||||
|
PV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PV
|
||||||
|
|
||||||
|
QUARTILE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::QUARTILE
|
||||||
|
QUOTIENT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::QUOTIENT
|
||||||
|
|
||||||
|
RADIANS CATEGORY_MATH_AND_TRIG deg2rad
|
||||||
|
RAND CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::RAND
|
||||||
|
RANDBETWEEN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::RAND
|
||||||
|
RANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::RANK
|
||||||
|
RATE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::RATE
|
||||||
|
RECEIVED CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::RECEIVED
|
||||||
|
REPLACE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::REPLACE
|
||||||
|
REPLACEB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::REPLACE
|
||||||
|
REPT CATEGORY_TEXT_AND_DATA str_repeat
|
||||||
|
RIGHT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RIGHT
|
||||||
|
RIGHTB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RIGHT
|
||||||
|
ROMAN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROMAN
|
||||||
|
ROUND CATEGORY_MATH_AND_TRIG round
|
||||||
|
ROUNDDOWN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROUNDDOWN
|
||||||
|
ROUNDUP CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROUNDUP
|
||||||
|
ROW CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::ROW
|
||||||
|
ROWS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::ROWS
|
||||||
|
RSQ CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::RSQ
|
||||||
|
RTD CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented
|
||||||
|
|
||||||
|
SEARCH CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHINSENSITIVE
|
||||||
|
SEARCHB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHINSENSITIVE
|
||||||
|
SECOND CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::SECONDOFMINUTE
|
||||||
|
SERIESSUM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SERIESSUM
|
||||||
|
SIGN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SIGN
|
||||||
|
SIN CATEGORY_MATH_AND_TRIG sin
|
||||||
|
SINH CATEGORY_MATH_AND_TRIG sinh
|
||||||
|
SKEW CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SKEW
|
||||||
|
SLN CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::SLN
|
||||||
|
SLOPE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SLOPE
|
||||||
|
SMALL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SMALL
|
||||||
|
SQRT CATEGORY_MATH_AND_TRIG sqrt
|
||||||
|
SQRTPI CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SQRTPI
|
||||||
|
STANDARDIZE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STANDARDIZE
|
||||||
|
STDEV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEV
|
||||||
|
STDEVA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVA
|
||||||
|
STDEVP CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVP
|
||||||
|
STDEVPA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVPA
|
||||||
|
STEYX CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STEYX
|
||||||
|
SUBSTITUTE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SUBSTITUTE
|
||||||
|
SUBTOTAL CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUBTOTAL
|
||||||
|
SUM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUM
|
||||||
|
SUMIF CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMIF
|
||||||
|
SUMIFS CATEGORY_MATH_AND_TRIG *** Not yet Implemented
|
||||||
|
SUMPRODUCT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMPRODUCT
|
||||||
|
SUMSQ CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMSQ
|
||||||
|
SUMX2MY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMX2MY2
|
||||||
|
SUMX2PY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMX2PY2
|
||||||
|
SUMXMY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMXMY2
|
||||||
|
SYD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::SYD
|
||||||
|
|
||||||
|
T CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RETURNSTRING
|
||||||
|
TAN CATEGORY_MATH_AND_TRIG tan
|
||||||
|
TANH CATEGORY_MATH_AND_TRIG tanh
|
||||||
|
TBILLEQ CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLEQ
|
||||||
|
TBILLPRICE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLPRICE
|
||||||
|
TBILLYIELD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLYIELD
|
||||||
|
TDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TDIST
|
||||||
|
TEXT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TEXTFORMAT
|
||||||
|
TIME CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::TIME
|
||||||
|
TIMEVALUE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::TIMEVALUE
|
||||||
|
TINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TINV
|
||||||
|
TODAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATENOW
|
||||||
|
TRANSPOSE CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::TRANSPOSE
|
||||||
|
TREND CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TREND
|
||||||
|
TRIM CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TRIMSPACES
|
||||||
|
TRIMMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TRIMMEAN
|
||||||
|
TRUE CATEGORY_LOGICAL PHPExcel_Calculation_Logical::TRUE
|
||||||
|
TRUNC CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::TRUNC
|
||||||
|
TTEST CATEGORY_STATISTICAL *** Not yet Implemented
|
||||||
|
TYPE CATEGORY_INFORMATION PHPExcel_Calculation_Functions::TYPE
|
||||||
|
|
||||||
|
UPPER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::UPPERCASE
|
||||||
|
USDOLLAR CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
|
||||||
|
VALUE CATEGORY_TEXT_AND_DATA *** Not yet Implemented
|
||||||
|
VAR CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARFunc
|
||||||
|
VARA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARA
|
||||||
|
VARP CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARP
|
||||||
|
VARPA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARPA
|
||||||
|
VDB CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
VERSION CATEGORY_INFORMATION PHPExcel_Calculation_Functions::VERSION
|
||||||
|
VLOOKUP CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::VLOOKUP
|
||||||
|
|
||||||
|
WEEKDAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DAYOFWEEK
|
||||||
|
WEEKNUM CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::WEEKOFYEAR
|
||||||
|
WEIBULL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::WEIBULL
|
||||||
|
WORKDAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::WORKDAY
|
||||||
|
|
||||||
|
XIRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::XIRR
|
||||||
|
XNPV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::XNPV
|
||||||
|
|
||||||
|
YEAR CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::YEAR
|
||||||
|
YEARFRAC CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::YEARFRAC
|
||||||
|
YIELD CATEGORY_FINANCIAL *** Not yet Implemented
|
||||||
|
YIELDDISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::YIELDDISC
|
||||||
|
YIELDMAT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::YIELDMAT
|
||||||
|
|
||||||
|
ZTEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::ZTEST
|
|
@ -0,0 +1,174 @@
|
||||||
|
# PHPExcel Developer Documentation
|
||||||
|
|
||||||
|
|
||||||
|
## 1. Prerequisites, Installation, FAQ and Links
|
||||||
|
|
||||||
|
### 1.1 Software requirements
|
||||||
|
|
||||||
|
The following software is required to develop using PHPExcel:
|
||||||
|
|
||||||
|
- PHP version 5.2.0 or newer
|
||||||
|
- PHP extension php_zip enabled [^phpzip_footnote]
|
||||||
|
- PHP extension php_xml enabled
|
||||||
|
- PHP extension php_gd2 enabled (if not compiled in)
|
||||||
|
|
||||||
|
[^phpzip_footnote]: __php_zip__ is only needed by __PHPExcel_Reader_Excel2007__, __PHPExcel_Writer_Excel2007__ and __PHPExcel_Reader_OOCalc__. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not. You can remove this dependency for writing Excel2007 files (though not yet for reading) by using the PCLZip library that is bundled with PHPExcel. See the FAQ section of this document for details about this. PCLZip does have a dependency on PHP's zlib extension being enabled.
|
||||||
|
|
||||||
|
### 1.2 Installation instructions
|
||||||
|
|
||||||
|
Installation is quite easy: copy the contents of the Classes folder to any location within your application source directories.
|
||||||
|
|
||||||
|
*Example:*
|
||||||
|
|
||||||
|
If your web root folder is /var/www/ you may want to create a subfolder called /var/www/Classes/ and copy the files into that folder so you end up with files:
|
||||||
|
|
||||||
|
/var/www/Classes/PHPExcel.php
|
||||||
|
/var/www/Classes/PHPExcel/Calculation.php
|
||||||
|
/var/www/Classes/PHPExcel/Cell.php
|
||||||
|
...
|
||||||
|
|
||||||
|
### 1.3 Getting started
|
||||||
|
|
||||||
|
A good way to get started is to run some of the tests included in the download.
|
||||||
|
Copy the "Examples" folder next to your "Classes" folder from above so you end up with:
|
||||||
|
|
||||||
|
/var/www/Examples/01simple.php
|
||||||
|
/var/www/Examples/02types.php
|
||||||
|
...
|
||||||
|
|
||||||
|
Start running the tests by pointing your browser to the test scripts:
|
||||||
|
|
||||||
|
http://example.com/Tests/01simple.php
|
||||||
|
http://example.com/Tests/02types.php
|
||||||
|
...
|
||||||
|
|
||||||
|
Note: It may be necessary to modify the include/require statements at the beginning of each of the test scripts if your "Classes" folder from above is named differently.
|
||||||
|
|
||||||
|
### 1.4 Useful links and tools
|
||||||
|
|
||||||
|
There are some links and tools which are very useful when developing using PHPExcel. Please refer to the [PHPExcel CodePlex pages][2] for an update version of the list below.
|
||||||
|
|
||||||
|
#### 1.4.1 OpenXML / SpreadsheetML
|
||||||
|
|
||||||
|
- __File format documentation__
|
||||||
|
[http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][3]
|
||||||
|
- __OpenXML Explained e-book__
|
||||||
|
[http://openxmldeveloper.org/articles/1970.aspx][4]
|
||||||
|
- __Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats__
|
||||||
|
[http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en][5]
|
||||||
|
- __OpenXML Package Explorer__
|
||||||
|
[http://www.codeplex.com/PackageExplorer/][6]
|
||||||
|
|
||||||
|
#### 1.4.2 Frequently asked questions
|
||||||
|
|
||||||
|
The up-to-date F.A.Q. page for PHPExcel can be found on [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements][7].
|
||||||
|
|
||||||
|
##### There seems to be a problem with character encoding...
|
||||||
|
|
||||||
|
It is necessary to use UTF-8 encoding for all texts in PHPExcel. If the script uses different encoding then you can convert those texts with PHP's iconv() or mb_convert_encoding() functions.
|
||||||
|
|
||||||
|
##### PHP complains about ZipArchive not being found
|
||||||
|
|
||||||
|
Make sure you meet all requirements, especially php_zip extension should be enabled.
|
||||||
|
|
||||||
|
The ZipArchive class is only required when reading or writing formats that use Zip compression (Excel2007 and OOCalc). Since version 1.7.6 the PCLZip library has been bundled with PHPExcel as an alternative to the ZipArchive class.
|
||||||
|
|
||||||
|
This can be enabled by calling:
|
||||||
|
```php
|
||||||
|
PHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);
|
||||||
|
```
|
||||||
|
*before* calling the save method of the Excel2007 Writer.
|
||||||
|
|
||||||
|
You can revert to using ZipArchive by calling:
|
||||||
|
```php
|
||||||
|
PHPExcel_Settings::setZipClass(PHPExcel_Settings::ZIPARCHIVE);
|
||||||
|
```
|
||||||
|
At present, this only allows you to write Excel2007 files without the need for ZipArchive (not to read Excel2007 or OOCalc)
|
||||||
|
|
||||||
|
##### Excel 2007 cannot open the file generated by PHPExcel_Writer_2007 on Windows
|
||||||
|
|
||||||
|
*"Excel found unreadable content in '*.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes."<22>*
|
||||||
|
|
||||||
|
Some older versions of the 5.2.x php_zip extension on Windows contain an error when creating ZIP files. The version that can be found on [http://snaps.php.net/win32/php5.2-win32-latest.zip][8] should work at all times.
|
||||||
|
|
||||||
|
Alternatively, upgrading to at least PHP 5.2.9 should solve the problem.
|
||||||
|
|
||||||
|
If you can't locate a clean copy of ZipArchive, then you can use the PCLZip library as an alternative when writing Excel2007 files, as described above.
|
||||||
|
|
||||||
|
##### Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate yyy bytes) in zzz on line aaa
|
||||||
|
|
||||||
|
PHPExcel holds an "in memory" representation of a spreadsheet, so it is susceptible to PHP's memory limitations. The memory made available to PHP can be increased by editing the value of the memory_limit directive in your php.ini file, or by using ini_set('memory_limit', '128M') within your code (ISP permitting).
|
||||||
|
|
||||||
|
Some Readers and Writers are faster than others, and they also use differing amounts of memory. You can find some indication of the relative performance and memory usage for the different Readers and Writers, over the different versions of PHPExcel, on the [discussion board][9].
|
||||||
|
|
||||||
|
If you've already increased memory to a maximum, or can't change your memory limit, then [this discussion][10] on the board describes some of the methods that can be applied to reduce the memory usage of your scripts using PHPExcel.
|
||||||
|
|
||||||
|
##### Protection on my worksheet is not working?
|
||||||
|
|
||||||
|
When you make use of any of the worksheet protection features (e.g. cell range protection, prohibiting deleting rows, ...), make sure you enable worksheet security. This can for example be done like this:
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Feature X is not working with PHPExcel_Reader_Y / PHPExcel_Writer_Z
|
||||||
|
|
||||||
|
Not all features of PHPExcel are implemented in all of the Reader / Writer classes. This is mostly due to underlying libraries not supporting a specific feature or not having implemented a specific feature.
|
||||||
|
|
||||||
|
For example autofilter is not implemented in PEAR Spreadsheet_Excel_writer, which is the base of our Excel5 writer.
|
||||||
|
|
||||||
|
We are slowly building up a list of features, together with the different readers and writers that support them, in the "Functionality Cross-Reference.xls" file in the /Documentation folder.
|
||||||
|
|
||||||
|
##### Formulas don't seem to be calculated in Excel2003 using compatibility pack?
|
||||||
|
|
||||||
|
This is normal behaviour of the compatibility pack, Excel2007 displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.
|
||||||
|
|
||||||
|
##### Setting column width is not 100% accurate
|
||||||
|
|
||||||
|
Trying to set column width, I experience one problem. When I open the file in Excel, the actual width is 0.71 less than it should be.
|
||||||
|
|
||||||
|
The short answer is that PHPExcel uses a measure where padding is included. See section: "Setting a column's width" for more details.
|
||||||
|
|
||||||
|
##### How do I use PHPExcel with my framework
|
||||||
|
|
||||||
|
- There are some instructions for using PHPExcel with Joomla on the [Joomla message board][11]
|
||||||
|
- A page of advice on using [PHPExcel in the Yii framework][12]
|
||||||
|
- [The Bakery][13] has some helper classes for reading and writing with PHPExcel within CakePHP
|
||||||
|
- Integrating [PHPExcel into Kohana 3][14] and [?????????? PHPExcel ? Kohana Framework][15]
|
||||||
|
- Using [PHPExcel with Typo3][16]
|
||||||
|
|
||||||
|
##### Joomla Autoloader interferes with PHPExcel Autoloader
|
||||||
|
|
||||||
|
Thanks to peterrlynch for the following advice on resolving issues between the [PHPExcel autoloader and Joomla Autoloader][17]
|
||||||
|
|
||||||
|
#### 1.4.3 Tutorials
|
||||||
|
|
||||||
|
- __English PHPExcel tutorial__
|
||||||
|
[http://openxmldeveloper.org][18]
|
||||||
|
- __French PHPExcel tutorial__
|
||||||
|
[http://g-ernaelsten.developpez.com/tutoriels/excel2007/][19]
|
||||||
|
- __Russian PHPExcel Blog Postings__
|
||||||
|
[http://www.web-junior.net/sozdanie-excel-fajjlov-s-pomoshhyu-phpexcel/][20]
|
||||||
|
- __A Japanese-language introduction to PHPExcel__
|
||||||
|
[http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html][21]
|
||||||
|
|
||||||
|
|
||||||
|
[2]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Documents&referringTitle=Home
|
||||||
|
[3]: http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm
|
||||||
|
[4]: http://openxmldeveloper.org/articles/1970.aspx
|
||||||
|
[5]: http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
|
||||||
|
[6]: http://www.codeplex.com/PackageExplorer/
|
||||||
|
[7]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements
|
||||||
|
[8]: http://snaps.php.net/win32/php5.2-win32-latest.zip
|
||||||
|
[9]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=234150
|
||||||
|
[10]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=242712
|
||||||
|
[11]: http://http:/forum.joomla.org/viewtopic.php?f=304&t=433060
|
||||||
|
[12]: http://www.yiiframework.com/wiki/101/how-to-use-phpexcel-external-library-with-yii/
|
||||||
|
[13]: http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper
|
||||||
|
[14]: http://www.flynsarmy.com/2010/07/phpexcel-module-for-kohana-3/
|
||||||
|
[15]: http://szpargalki.blogspot.com/2011/02/phpexcel-kohana-framework.html
|
||||||
|
[16]: http://typo3.org/documentation/document-library/extension-manuals/phpexcel_library/1.1.1/view/toc/0/
|
||||||
|
[17]: http://phpexcel.codeplex.com/discussions/211925
|
||||||
|
[18]: http://openxmldeveloper.org
|
||||||
|
[19]: http://g-ernaelsten.developpez.com/tutoriels/excel2007/
|
||||||
|
[20]: http://www.web-junior.net/sozdanie-excel-fajjlov-s-pomoshhyu-phpexcel/
|
||||||
|
[21]: http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html
|
|
@ -0,0 +1,67 @@
|
||||||
|
# PHPExcel Developer Documentation
|
||||||
|
|
||||||
|
|
||||||
|
## Architecture
|
||||||
|
|
||||||
|
### Schematical
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Lazy Loader
|
||||||
|
|
||||||
|
PHPExcel implements an autoloader or "lazy loader"<22>, which means that it is not necessary to include every file within PHPExcel. It is only necessary to include the initial PHPExcel class file, then the autoloader will include other class files as and when required, so only those files that are actually required by your script will be loaded into PHP memory. The main benefit of this is that it reduces the memory footprint of PHPExcel itself, so that it uses less PHP memory.
|
||||||
|
|
||||||
|
If your own scripts already define an autoload function, then this may be overwritten by the PHPExcel autoload function. For example, if you have:
|
||||||
|
```php
|
||||||
|
function __autoload($class) {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Do this instead:
|
||||||
|
```php
|
||||||
|
function myAutoload($class) {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
|
||||||
|
spl_autoload_register('myAutoload');
|
||||||
|
```
|
||||||
|
Your autoloader will then co-exist with the autoloader of PHPExcel.
|
||||||
|
|
||||||
|
### Spreadsheet in memory
|
||||||
|
|
||||||
|
PHPExcel's architecture is built in a way that it can serve as an in-memory spreadsheet. This means that, if one would want to create a web based view of a spreadsheet which communicates with PHPExcel's object model, he would only have to write the front-end code.
|
||||||
|
|
||||||
|
Just like desktop spreadsheet software, PHPExcel represents a spreadsheet containing one or more worksheets, which contain cells with data, formulas, images, ...
|
||||||
|
|
||||||
|
### Readers and writers
|
||||||
|
|
||||||
|
On its own, PHPExcel does not provide the functionality to read from or write to a persisted spreadsheet (on disk or in a database). To provide that functionality, readers and writers can be used.
|
||||||
|
|
||||||
|
By default, the PHPExcel package provides some readers and writers, including one for the Open XML spreadsheet format (a.k.a. Excel 2007 file format). You are not limited to the default readers and writers, as you are free to implement the PHPExcel_Writer_IReader and PHPExcel_Writer_IWriter interface in a custom class.
|
||||||
|
|
||||||
|
### Fluent interfaces
|
||||||
|
|
||||||
|
PHPExcel supports fluent interfaces in most locations. This means that you can easily "chain"" calls to specific methods without requiring a new PHP statement. For example, take the following code:
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getProperties()->setCreator("Maarten Balliauw");
|
||||||
|
$objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw");
|
||||||
|
$objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test Document");
|
||||||
|
$objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test Document");
|
||||||
|
$objPHPExcel->getProperties()->setDescription("Test document for Office 2007 XLSX, generated using PHP classes.");
|
||||||
|
$objPHPExcel->getProperties()->setKeywords("office 2007 openxml php");
|
||||||
|
$objPHPExcel->getProperties()->setCategory("Test result file");
|
||||||
|
```
|
||||||
|
This can be rewritten as:
|
||||||
|
```php
|
||||||
|
$objPHPExcel->getProperties()
|
||||||
|
->setCreator("Maarten Balliauw")
|
||||||
|
->setLastModifiedBy("Maarten Balliauw")
|
||||||
|
->setTitle("Office 2007 XLSX Test Document")
|
||||||
|
->setSubject("Office 2007 XLSX Test Document")
|
||||||
|
->setDescription("Test document for Office 2007 XLSX, generated using PHP classes.")
|
||||||
|
->setKeywords("office 2007 openxml php")
|
||||||
|
->setCategory("Test result file");
|
||||||
|
```
|
||||||
|
|
||||||
|
__Using fluent interfaces is not required__
|
||||||
|
Fluent interfaces have been implemented to provide a convenient programming API. Use of them is not required, but can make your code easier to read and maintain. It can also improve performance, as you are reducing the overall number of calls to PHPExcel methods.
|
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 54 KiB |