Initial work on auto-building locale files for Exce functions

This commit is contained in:
MarkBaker 2021-05-18 08:47:55 +02:00 committed by Mark Baker
parent d0570bc766
commit e83f862d0b
7 changed files with 1170 additions and 965 deletions

View File

@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
### Changed ### Changed
- Nothing. - Use of `nb` rather than `no` as the locale code for Norsk Bokmål.
### Deprecated ### Deprecated

23
bin/generate-locales Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env php
<?php
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PhpOffice\PhpSpreadsheet\LocaleGenerator;
require_once 'vendor/autoload.php';
try {
$phpSpreadsheetFunctionsProperty = (new ReflectionClass(Calculation::class))->getProperty('phpSpreadsheetFunctions');
$phpSpreadsheetFunctionsProperty->setAccessible(true);
$phpSpreadsheetFunctions = $phpSpreadsheetFunctionsProperty->getValue();
$localeGenerator = new LocaleGenerator(
__DIR__ . '/../src/PhpSpreadsheet/Calculation/locale/',
'Translations.xlsx',
$phpSpreadsheetFunctions
);
$localeGenerator->generateLocales();
} catch (\Exception $e) {
fwrite(STDERR, (string) $e);
exit(1);
}

View File

@ -16,168 +16,168 @@ CUBEVALUE | **Not yet Implemented**
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
DAVERAGE | \PhpOffice\PhpSpreadsheet\Calculation\Database::DAVERAGE DAVERAGE | \PhpOffice\PhpSpreadsheet\Calculation\Database\DAverage::evaluate
DCOUNT | \PhpOffice\PhpSpreadsheet\Calculation\Database::DCOUNT DCOUNT | \PhpOffice\PhpSpreadsheet\Calculation\Database\DCount::evaluate
DCOUNTA | \PhpOffice\PhpSpreadsheet\Calculation\Database::DCOUNTA DCOUNTA | \PhpOffice\PhpSpreadsheet\Calculation\Database\DCountA::evaluate
DGET | \PhpOffice\PhpSpreadsheet\Calculation\Database::DGET DGET | \PhpOffice\PhpSpreadsheet\Calculation\Database\DGet::evaluate
DMAX | \PhpOffice\PhpSpreadsheet\Calculation\Database::DMAX DMAX | \PhpOffice\PhpSpreadsheet\Calculation\Database\DMax::evaluate
DMIN | \PhpOffice\PhpSpreadsheet\Calculation\Database::DMIN DMIN | \PhpOffice\PhpSpreadsheet\Calculation\Database\DMin::evaluate
DPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\Database::DPRODUCT DPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\Database\DProduct::evaluate
DSTDEV | \PhpOffice\PhpSpreadsheet\Calculation\Database::DSTDEV DSTDEV | \PhpOffice\PhpSpreadsheet\Calculation\Database\DStDev::evaluate
DSTDEVP | \PhpOffice\PhpSpreadsheet\Calculation\Database::DSTDEVP DSTDEVP | \PhpOffice\PhpSpreadsheet\Calculation\Database\DStDevP::evaluate
DSUM | \PhpOffice\PhpSpreadsheet\Calculation\Database::DSUM DSUM | \PhpOffice\PhpSpreadsheet\Calculation\Database\DSum::evaluate
DVAR | \PhpOffice\PhpSpreadsheet\Calculation\Database::DVAR DVAR | \PhpOffice\PhpSpreadsheet\Calculation\Database\DVar::evaluate
DVARP | \PhpOffice\PhpSpreadsheet\Calculation\Database::DVARP DVARP | \PhpOffice\PhpSpreadsheet\Calculation\Database\DVarP::evaluate
## CATEGORY_DATE_AND_TIME ## CATEGORY_DATE_AND_TIME
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
DATE | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATE DATE | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Date::fromYMD
DATEDIF | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATEDIF DATEDIF | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Difference::interval
DATEVALUE | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATEVALUE DATEVALUE | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\DateValue::fromString
DAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DAYOFMONTH DAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\DateParts::day
DAYS | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DAYS DAYS | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Days::between
DAYS360 | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DAYS360 DAYS360 | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Days360::between
EDATE | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::EDATE EDATE | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Month::adjust
EOMONTH | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::EOMONTH EOMONTH | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Month::lastDay
HOUR | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::HOUROFDAY HOUR | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\TimeParts::hour
ISOWEEKNUM | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::ISOWEEKNUM ISOWEEKNUM | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Week::isoWeekNumber
MINUTE | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::MINUTE MINUTE | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\TimeParts::minute
MONTH | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::MONTHOFYEAR MONTH | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\DateParts::month
NETWORKDAYS | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::NETWORKDAYS NETWORKDAYS | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\NetworkDays::count
NETWORKDAYS.INTL | **Not yet Implemented** NETWORKDAYS.INTL | **Not yet Implemented**
NOW | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATETIMENOW NOW | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Current::now
SECOND | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::SECOND SECOND | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\TimeParts::second
TIME | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::TIME TIME | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Time::fromHMS
TIMEVALUE | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::TIMEVALUE TIMEVALUE | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\TimeValue::fromString
TODAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::DATENOW TODAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Current::today
WEEKDAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::WEEKDAY WEEKDAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Week::day
WEEKNUM | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::WEEKNUM WEEKNUM | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\Week::number
WORKDAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::WORKDAY WORKDAY | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\WorkDay::date
WORKDAY.INTL | **Not yet Implemented** WORKDAY.INTL | **Not yet Implemented**
YEAR | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::YEAR YEAR | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\DateParts::year
YEARFRAC | \PhpOffice\PhpSpreadsheet\Calculation\DateTime::YEARFRAC YEARFRAC | \PhpOffice\PhpSpreadsheet\Calculation\DateTimeExcel\YearFrac::fraction
## CATEGORY_ENGINEERING ## CATEGORY_ENGINEERING
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
BESSELI | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BESSELI BESSELI | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BesselI::BESSELI
BESSELJ | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BESSELJ BESSELJ | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BesselJ::BESSELJ
BESSELK | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BESSELK BESSELK | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BesselK::BESSELK
BESSELY | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BESSELY BESSELY | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BesselY::BESSELY
BIN2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BINTODEC BIN2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertBinary::toDecimal
BIN2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BINTOHEX BIN2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertBinary::toHex
BIN2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BINTOOCT BIN2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertBinary::toOctal
BITAND | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BITAND BITAND | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BitWise::BITAND
BITLSHIFT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BITLSHIFT BITLSHIFT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BitWise::BITLSHIFT
BITOR | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BITOR BITOR | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BitWise::BITOR
BITRSHIFT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BITRSHIFT BITRSHIFT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BitWise::BITRSHIFT
BITXOR | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::BITOR BITXOR | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\BitWise::BITXOR
COMPLEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::COMPLEX COMPLEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Complex::COMPLEX
CONVERT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::CONVERTUOM CONVERT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertUOM::CONVERT
DEC2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::DECTOBIN DEC2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertDecimal::toBinary
DEC2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::DECTOHEX DEC2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertDecimal::toHex
DEC2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::DECTOOCT DEC2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertDecimal::toOctal
DELTA | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::DELTA DELTA | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Compare::DELTA
ERF | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::ERF ERF | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Erf::ERF
ERF.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::ERFPRECISE ERF.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Erf::ERFPRECISE
ERFC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::ERFC ERFC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ErfC::ERFC
ERFC.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::ERFC ERFC.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ErfC::ERFC
GESTEP | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::GESTEP GESTEP | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Compare::GESTEP
HEX2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::HEXTOBIN HEX2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertHex::toBinary
HEX2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::HEXTODEC HEX2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertHex::toDecimal
HEX2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::HEXTOOCT HEX2OCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertHex::toOctal
IMABS | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMABS IMABS | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMABS
IMAGINARY | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMAGINARY IMAGINARY | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Complex::IMAGINARY
IMARGUMENT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMARGUMENT IMARGUMENT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMARGUMENT
IMCONJUGATE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCONJUGATE IMCONJUGATE | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCONJUGATE
IMCOS | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCOS IMCOS | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCOS
IMCOSH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCOSH IMCOSH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCOSH
IMCOT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCOT IMCOT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCOT
IMCSC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCSC IMCSC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCSC
IMCSCH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMCSCH IMCSCH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMCSCH
IMDIV | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMDIV IMDIV | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexOperations::IMDIV
IMEXP | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMEXP IMEXP | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMEXP
IMLN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMLN IMLN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMLN
IMLOG10 | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMLOG10 IMLOG10 | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMLOG10
IMLOG2 | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMLOG2 IMLOG2 | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMLOG2
IMPOWER | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMPOWER IMPOWER | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMPOWER
IMPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMPRODUCT IMPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexOperations::IMPRODUCT
IMREAL | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMREAL IMREAL | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\Complex::IMREAL
IMSEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSEC IMSEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMSEC
IMSECH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSECH IMSECH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMSECH
IMSIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSIN IMSIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMSIN
IMSINH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSINH IMSINH | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMSINH
IMSQRT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSQRT IMSQRT | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMSQRT
IMSUB | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSUB IMSUB | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexOperations::IMSUB
IMSUM | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMSUM IMSUM | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexOperations::IMSUM
IMTAN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::IMTAN IMTAN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ComplexFunctions::IMTAN
OCT2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::OCTTOBIN OCT2BIN | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertOctal::toBinary
OCT2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::OCTTODEC OCT2DEC | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertOctal::toDecimal
OCT2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering::OCTTOHEX OCT2HEX | \PhpOffice\PhpSpreadsheet\Calculation\Engineering\ConvertOctal::toHex
## CATEGORY_FINANCIAL ## CATEGORY_FINANCIAL
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
ACCRINT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::ACCRINT ACCRINT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\AccruedInterest::periodic
ACCRINTM | \PhpOffice\PhpSpreadsheet\Calculation\Financial::ACCRINTM ACCRINTM | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\AccruedInterest::atMaturity
AMORDEGRC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::AMORDEGRC AMORDEGRC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Amortization::AMORDEGRC
AMORLINC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::AMORLINC AMORLINC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Amortization::AMORLINC
COUPDAYBS | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPDAYBS COUPDAYBS | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPDAYBS
COUPDAYS | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPDAYS COUPDAYS | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPDAYS
COUPDAYSNC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPDAYSNC COUPDAYSNC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPDAYSNC
COUPNCD | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPNCD COUPNCD | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPNCD
COUPNUM | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPNUM COUPNUM | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPNUM
COUPPCD | \PhpOffice\PhpSpreadsheet\Calculation\Financial::COUPPCD COUPPCD | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Coupons::COUPPCD
CUMIPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::CUMIPMT CUMIPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Cumulative::interest
CUMPRINC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::CUMPRINC CUMPRINC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Cumulative::principal
DB | \PhpOffice\PhpSpreadsheet\Calculation\Financial::DB DB | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Depreciation::DB
DDB | \PhpOffice\PhpSpreadsheet\Calculation\Financial::DDB DDB | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Depreciation::DDB
DISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::DISC DISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Rates::discount
DOLLARDE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::DOLLARDE DOLLARDE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Dollar::decimal
DOLLARFR | \PhpOffice\PhpSpreadsheet\Calculation\Financial::DOLLARFR DOLLARFR | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Dollar::fractional
DURATION | **Not yet Implemented** DURATION | **Not yet Implemented**
EFFECT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::EFFECT EFFECT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\InterestRate::effective
FV | \PhpOffice\PhpSpreadsheet\Calculation\Financial::FV FV | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic::futureValue
FVSCHEDULE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::FVSCHEDULE FVSCHEDULE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Single::futureValue
INTRATE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::INTRATE INTRATE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Rates::interest
IPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::IPMT IPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Interest::payment
IRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial::IRR IRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Variable\Periodic::rate
ISPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::ISPMT ISPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Interest::schedulePayment
MDURATION | **Not yet Implemented** MDURATION | **Not yet Implemented**
MIRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial::MIRR MIRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Variable\Periodic::modifiedRate
NOMINAL | \PhpOffice\PhpSpreadsheet\Calculation\Financial::NOMINAL NOMINAL | \PhpOffice\PhpSpreadsheet\Calculation\Financial\InterestRate::nominal
NPER | \PhpOffice\PhpSpreadsheet\Calculation\Financial::NPER NPER | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic::periods
NPV | \PhpOffice\PhpSpreadsheet\Calculation\Financial::NPV NPV | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Variable\Periodic::presentValue
ODDFPRICE | **Not yet Implemented** ODDFPRICE | **Not yet Implemented**
ODDFYIELD | **Not yet Implemented** ODDFYIELD | **Not yet Implemented**
ODDLPRICE | **Not yet Implemented** ODDLPRICE | **Not yet Implemented**
ODDLYIELD | **Not yet Implemented** ODDLYIELD | **Not yet Implemented**
PDURATION | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PDURATION PDURATION | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Single::periods
PMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PMT PMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Payments::annuity
PPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PPMT PPMT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Payments::interestPayment
PRICE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PRICE PRICE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Price::price
PRICEDISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PRICEDISC PRICEDISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Price::priceDiscounted
PRICEMAT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PRICEMAT PRICEMAT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Price::priceAtMaturity
PV | \PhpOffice\PhpSpreadsheet\Calculation\Financial::PV PV | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic::presentValue
RATE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::RATE RATE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Interest::rate
RECEIVED | \PhpOffice\PhpSpreadsheet\Calculation\Financial::RECEIVED RECEIVED | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Price::received
RRI | \PhpOffice\PhpSpreadsheet\Calculation\Financial::RRI RRI | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Single::interestRate
SLN | \PhpOffice\PhpSpreadsheet\Calculation\Financial::SLN SLN | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Depreciation::SLN
SYD | \PhpOffice\PhpSpreadsheet\Calculation\Financial::SYD SYD | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Depreciation::SYD
TBILLEQ | \PhpOffice\PhpSpreadsheet\Calculation\Financial::TBILLEQ TBILLEQ | \PhpOffice\PhpSpreadsheet\Calculation\Financial\TreasuryBill::bondEquivalentYield
TBILLPRICE | \PhpOffice\PhpSpreadsheet\Calculation\Financial::TBILLPRICE TBILLPRICE | \PhpOffice\PhpSpreadsheet\Calculation\Financial\TreasuryBill::price
TBILLYIELD | \PhpOffice\PhpSpreadsheet\Calculation\Financial::TBILLYIELD TBILLYIELD | \PhpOffice\PhpSpreadsheet\Calculation\Financial\TreasuryBill::yield
USDOLLAR | **Not yet Implemented** USDOLLAR | **Not yet Implemented**
VDB | **Not yet Implemented** VDB | **Not yet Implemented**
XIRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial::XIRR XIRR | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Variable\NonPeriodic::rate
XNPV | \PhpOffice\PhpSpreadsheet\Calculation\Financial::XNPV XNPV | \PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Variable\NonPeriodic::presentValue
YIELD | **Not yet Implemented** YIELD | **Not yet Implemented**
YIELDDISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial::YIELDDISC YIELDDISC | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Yields::yieldDiscounted
YIELDMAT | \PhpOffice\PhpSpreadsheet\Calculation\Financial::YIELDMAT YIELDMAT | \PhpOffice\PhpSpreadsheet\Calculation\Financial\Securities\Yields::yieldAtMaturity
## CATEGORY_INFORMATION ## CATEGORY_INFORMATION
@ -208,45 +208,45 @@ TYPE | \PhpOffice\PhpSpreadsheet\Calculation\Functions::TYPE
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
AND | \PhpOffice\PhpSpreadsheet\Calculation\Logical::logicalAnd AND | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Operations::logicalAnd
FALSE | \PhpOffice\PhpSpreadsheet\Calculation\Logical::FALSE FALSE | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Boolean::FALSE
IF | \PhpOffice\PhpSpreadsheet\Calculation\Logical::statementIf IF | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Conditional::statementIf
IFERROR | \PhpOffice\PhpSpreadsheet\Calculation\Logical::IFERROR IFERROR | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Conditional::IFERROR
IFNA | \PhpOffice\PhpSpreadsheet\Calculation\Logical::IFNA IFNA | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Conditional::IFNA
IFS | \PhpOffice\PhpSpreadsheet\Calculation\Logical::IFS IFS | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Conditional::IFS
NOT | \PhpOffice\PhpSpreadsheet\Calculation\Logical::NOT NOT | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Operations::NOT
OR | \PhpOffice\PhpSpreadsheet\Calculation\Logical::logicalOr OR | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Operations::logicalOr
SWITCH | \PhpOffice\PhpSpreadsheet\Calculation\Logical::statementSwitch SWITCH | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Conditional::statementSwitch
TRUE | \PhpOffice\PhpSpreadsheet\Calculation\Logical::TRUE TRUE | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Boolean::TRUE
XOR | \PhpOffice\PhpSpreadsheet\Calculation\Logical::logicalXor XOR | \PhpOffice\PhpSpreadsheet\Calculation\Logical\Operations::logicalXor
## CATEGORY_LOOKUP_AND_REFERENCE ## CATEGORY_LOOKUP_AND_REFERENCE
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
ADDRESS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::cellAddress ADDRESS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Address::cell
AREAS | **Not yet Implemented** AREAS | **Not yet Implemented**
CHOOSE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::CHOOSE CHOOSE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Selection::CHOOSE
COLUMN | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::COLUMN COLUMN | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation::COLUMN
COLUMNS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::COLUMNS COLUMNS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation::COLUMNS
FILTER | **Not yet Implemented** FILTER | **Not yet Implemented**
FORMULATEXT | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::FORMULATEXT FORMULATEXT | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Formula::text
GETPIVOTDATA | **Not yet Implemented** GETPIVOTDATA | **Not yet Implemented**
HLOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::HLOOKUP HLOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\HLookup::lookup
HYPERLINK | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::HYPERLINK HYPERLINK | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Hyperlink::set
INDEX | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::INDEX INDEX | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Matrix::index
INDIRECT | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::INDIRECT INDIRECT | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Indirect::INDIRECT
LOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::LOOKUP LOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Lookup::lookup
MATCH | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::MATCH MATCH | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\ExcelMatch::MATCH
OFFSET | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::OFFSET OFFSET | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Offset::OFFSET
ROW | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::ROW ROW | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation::ROW
ROWS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::ROWS ROWS | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation::ROWS
RTD | **Not yet Implemented** RTD | **Not yet Implemented**
SORT | **Not yet Implemented** SORT | **Not yet Implemented**
SORTBY | **Not yet Implemented** SORTBY | **Not yet Implemented**
TRANSPOSE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::TRANSPOSE TRANSPOSE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Matrix::transpose
UNIQUE | **Not yet Implemented** UNIQUE | **Not yet Implemented**
VLOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::VLOOKUP VLOOKUP | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef\VLookup::lookup
XLOOKUP | **Not yet Implemented** XLOOKUP | **Not yet Implemented**
XMATCH | **Not yet Implemented** XMATCH | **Not yet Implemented**
@ -254,241 +254,242 @@ XMATCH | **Not yet Implemented**
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
ABS | abs ABS | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Absolute::evaluate
ACOS | acos ACOS | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine::acos
ACOSH | acosh ACOSH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine::acosh
ACOT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ACOT ACOT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent::acot
ACOTH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ACOTH ACOTH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent::acoth
AGGREGATE | **Not yet Implemented** AGGREGATE | **Not yet Implemented**
ARABIC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ARABIC ARABIC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Arabic::evaluate
ASIN | asin ASIN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine::asin
ASINH | asinh ASINH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine::asinh
ATAN | atan ATAN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent::atan
ATAN2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ATAN2 ATAN2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent::atan2
ATANH | atanh ATANH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent::atanh
BASE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::BASE BASE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Base::evaluate
CEILING | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::CEILING CEILING | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Ceiling::ceiling
CEILING.MATH | **Not yet Implemented** CEILING.MATH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Ceiling::math
CEILING.PRECISE | **Not yet Implemented** CEILING.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Ceiling::precise
COMBIN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::COMBIN COMBIN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Combinations::withoutRepetition
COMBINA | **Not yet Implemented** COMBINA | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Combinations::withRepetition
COS | cos COS | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine::cos
COSH | cosh COSH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine::cosh
COT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::COT COT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent::cot
COTH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::COTH COTH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent::coth
CSC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::CSC CSC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosecant::csc
CSCH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::CSCH CSCH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosecant::csch
DECIMAL | **Not yet Implemented** DECIMAL | **Not yet Implemented**
DEGREES | rad2deg DEGREES | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Angle::toDegrees
EVEN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::EVEN EVEN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::even
EXP | exp EXP | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Exp::evaluate
FACT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::FACT FACT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial::fact
FACTDOUBLE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::FACTDOUBLE FACTDOUBLE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial::factDouble
FLOOR | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::FLOOR FLOOR | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor::floor
FLOOR.MATH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::FLOORMATH FLOOR.MATH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor::math
FLOOR.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::FLOORPRECISE FLOOR.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor::precise
GCD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::GCD GCD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Gcd::evaluate
INT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::INT INT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\IntClass::evaluate
ISO.CEILING | **Not yet Implemented** ISO.CEILING | **Not yet Implemented**
LCM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::LCM LCM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Lcm::evaluate
LN | log LN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms::natural
LOG | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::logBase LOG | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms::withBase
LOG10 | log10 LOG10 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms::base10
MDETERM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MDETERM MDETERM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions::determinant
MINVERSE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MINVERSE MINVERSE | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions::inverse
MMULT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MMULT MMULT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions::multiply
MOD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MOD MOD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations::mod
MROUND | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MROUND MROUND | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::multiple
MULTINOMIAL | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::MULTINOMIAL MULTINOMIAL | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial::multinomial
MUNIT | **Not yet Implemented** MUNIT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions::identity
ODD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ODD ODD | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::odd
PI | pi PI | pi
POWER | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::POWER POWER | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations::power
PRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::PRODUCT PRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations::product
QUOTIENT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::QUOTIENT QUOTIENT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations::quotient
RADIANS | deg2rad RADIANS | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Angle::toRadians
RAND | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::RAND RAND | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Random::rand
RANDARRAY | **Not yet Implemented** RANDARRAY | **Not yet Implemented**
RANDBETWEEN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::RAND RANDBETWEEN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Random::randBetween
ROMAN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ROMAN ROMAN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Roman::evaluate
ROUND | round ROUND | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::round
ROUNDDOWN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ROUNDDOWN ROUNDDOWN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::down
ROUNDUP | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::ROUNDUP ROUNDUP | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round::up
SEC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SEC SEC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Secant::sec
SECH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SECH SECH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Secant::sech
SERIESSUM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SERIESSUM
SEQUENCE | **Not yet Implemented** SEQUENCE | **Not yet Implemented**
SIGN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SIGN SERIESSUM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SeriesSum::evaluate
SIN | sin SIGN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sign::evaluate
SINH | sinh SIN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine::sin
SQRT | sqrt SINH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine::sinh
SQRTPI | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SQRTPI SQRT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sqrt::sqrt
SUBTOTAL | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUBTOTAL SQRTPI | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sqrt::pi
SUM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUM SUBTOTAL | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Subtotal::evaluate
SUMIF | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMIF SUM | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sum::sumErroringStrings
SUMIFS | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMIFS SUMIF | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::SUMIF
SUMPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMPRODUCT SUMIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::SUMIFS
SUMSQ | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMSQ SUMPRODUCT | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sum::product
SUMX2MY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMX2MY2 SUMSQ | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares::sumSquare
SUMX2PY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMX2PY2 SUMX2MY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares::sumXSquaredMinusYSquared
SUMXMY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::SUMXMY2 SUMX2PY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares::sumXSquaredPlusYSquared
TAN | tan SUMXMY2 | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares::sumXMinusYSquared
TANH | tanh TAN | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent::tan
TRUNC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig::TRUNC TANH | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent::tanh
TRUNC | \PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trunc::evaluate
## CATEGORY_STATISTICAL ## CATEGORY_STATISTICAL
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
-------------------------|------------------------------------------- --------------------|-------------------------------------------
AVEDEV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::AVEDEV AVEDEV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::averageDeviations
AVERAGE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::AVERAGE AVERAGE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::average
AVERAGEA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::AVERAGEA AVERAGEA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::averageA
AVERAGEIF | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::AVERAGEIF AVERAGEIF | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::AVERAGEIF
AVERAGEIFS | **Not yet Implemented** AVERAGEIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::AVERAGEIFS
BETADIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BETADIST BETA.DIST | **Not yet Implemented**
BETA.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BETADIST BETA.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Beta::inverse
BETAINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BETAINV BETADIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Beta::distribution
BETA.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BETAINV BETAINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Beta::inverse
BINOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BINOMDIST BINOM.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::distribution
BINOM.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::BINOMDIST BINOM.DIST.RANGE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::range
BINOM.DIST.RANGE | **Not yet Implemented** BINOM.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::inverse
BINOM.INV | **Not yet Implemented** BINOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::distribution
CHIDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CHIDIST CHIDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::distributionRightTail
CHISQ.DIST | **Not yet Implemented** CHIINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::inverseRightTail
CHISQ.DIST.RT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CHIDIST CHISQ.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::distributionLeftTail
CHIINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CHIINV CHISQ.DIST.RT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::distributionRightTail
CHISQ.INV | **Not yet Implemented** CHISQ.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::inverseLeftTail
CHISQ.INV.RT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CHIINV CHISQ.INV.RT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::inverseRightTail
CHITEST | **Not yet Implemented** CHISQ.TEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::test
CHISQ.TEST | **Not yet Implemented** CHITEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::test
CONFIDENCE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CONFIDENCE CONFIDENCE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Confidence::CONFIDENCE
CONFIDENCE.NORM | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CONFIDENCE CONFIDENCE.NORM | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Confidence::CONFIDENCE
CONFIDENCE.T | **Not yet Implemented** CONFIDENCE.T | **Not yet Implemented**
CORREL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CORREL CORREL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::CORREL
COUNT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COUNT COUNT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Counts::COUNT
COUNTA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COUNTA COUNTA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Counts::COUNTA
COUNTBLANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COUNTBLANK COUNTBLANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Counts::COUNTBLANK
COUNTIF | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COUNTIF COUNTIF | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::COUNTIF
COUNTIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COUNTIFS COUNTIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::COUNTIFS
COVAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COVAR COVAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::COVAR
COVARIANCE.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::COVAR COVARIANCE.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::COVAR
COVARIANCE.S | **Not yet Implemented** COVARIANCE.S | **Not yet Implemented**
CRITBINOM | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CRITBINOM CRITBINOM | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::inverse
DEVSQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::DEVSQ DEVSQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Deviations::sumSquares
EXPONDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::EXPONDIST EXPON.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Exponential::distribution
EXPON.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::EXPONDIST EXPONDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Exponential::distribution
FDIST | **Not yet Implemented** F.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\F::distribution
F.DIST | **Not yet Implemented**
F.DIST.RT | **Not yet Implemented** F.DIST.RT | **Not yet Implemented**
FINV | **Not yet Implemented**
F.INV | **Not yet Implemented** F.INV | **Not yet Implemented**
F.INV.RT | **Not yet Implemented** F.INV.RT | **Not yet Implemented**
F.TEST | **Not yet Implemented** F.TEST | **Not yet Implemented**
FISHER | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::FISHER FDIST | **Not yet Implemented**
FISHERINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::FISHERINV FINV | **Not yet Implemented**
FORECAST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::FORECAST FISHER | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Fisher::distribution
FISHERINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Fisher::inverse
FORECAST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::FORECAST
FORECAST.ETS | **Not yet Implemented** FORECAST.ETS | **Not yet Implemented**
FORECAST.ETS.CONFINT | **Not yet Implemented** FORECAST.ETS.CONFINT| **Not yet Implemented**
FORECAST.ETS.SEASONALITY | **Not yet Implemented** FORECAST.ETS.SEASONALITY| **Not yet Implemented**
FORECAST.ETS.STAT | **Not yet Implemented** FORECAST.ETS.STAT | **Not yet Implemented**
FORECAST.LINEAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::FORECAST FORECAST.LINEAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::FORECAST
FREQUENCY | **Not yet Implemented** FREQUENCY | **Not yet Implemented**
FTEST | **Not yet Implemented** FTEST | **Not yet Implemented**
GAMMA | **Not yet Implemented** GAMMA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::gamma
GAMMADIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMADIST GAMMA.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::distribution
GAMMA.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMADIST GAMMA.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::inverse
GAMMAINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMAINV GAMMADIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::distribution
GAMMA.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMAINV GAMMAINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::inverse
GAMMALN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMALN GAMMALN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::ln
GAMMALN.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GAMMALN GAMMALN.PRECISE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Gamma::ln
GAUSS | **Not yet Implemented** GAUSS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::gauss
GEOMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GEOMEAN GEOMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages\Mean::geometric
GROWTH | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::GROWTH GROWTH | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::GROWTH
HARMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::HARMEAN HARMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages\Mean::harmonic
HYPGEOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::HYPGEOMDIST HYPGEOM.DIST | **Not yet Implemented**
INTERCEPT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::INTERCEPT HYPGEOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\HyperGeometric::distribution
KURT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::KURT INTERCEPT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::INTERCEPT
LARGE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LARGE KURT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Deviations::kurtosis
LINEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LINEST LARGE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Size::large
LOGEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LOGEST LINEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::LINEST
LOGINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LOGINV LOGEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::LOGEST
LOGNORMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LOGNORMDIST LOGINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\LogNormal::inverse
LOGNORM.DIST | **Not yet Implemented** LOGNORM.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\LogNormal::distribution
LOGNORM.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::LOGINV LOGNORM.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\LogNormal::inverse
MAX | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MAX LOGNORMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\LogNormal::cumulative
MAXA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MAXA MAX | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Maximum::max
MAXIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MAXIFS MAXA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Maximum::maxA
MEDIAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MEDIAN MAXIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::MAXIFS
MEDIAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::median
MEDIANIF | **Not yet Implemented** MEDIANIF | **Not yet Implemented**
MIN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MIN MIN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Minimum::min
MINA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MINA MINA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Minimum::minA
MINIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MINIFS MINIFS | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional::MINIFS
MODE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MODE MODE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::mode
MODE.MULT | **Not yet Implemented** MODE.MULT | **Not yet Implemented**
MODE.SNGL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::MODE MODE.SNGL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages::mode
NEGBINOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NEGBINOMDIST
NEGBINOM.DIST | **Not yet Implemented** NEGBINOM.DIST | **Not yet Implemented**
NORMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMDIST NEGBINOMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Binomial::negative
NORM.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMDIST NORM.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Normal::distribution
NORMINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMINV NORM.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Normal::inverse
NORM.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMINV NORM.S.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::distribution
NORMSDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMSDIST NORM.S.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::inverse
NORM.S.DIST | **Not yet Implemented** NORMDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Normal::distribution
NORMSINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMSINV NORMINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Normal::inverse
NORM.S.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::NORMSINV NORMSDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::cumulative
PEARSON | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::CORREL NORMSINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::inverse
PERCENTILE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::PERCENTILE PEARSON | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::CORREL
PERCENTILE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::PERCENTILE
PERCENTILE.EXC | **Not yet Implemented** PERCENTILE.EXC | **Not yet Implemented**
PERCENTILE.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::PERCENTILE PERCENTILE.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::PERCENTILE
PERCENTRANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::PERCENTRANK PERCENTRANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::PERCENTRANK
PERCENTRANK.EXC | **Not yet Implemented** PERCENTRANK.EXC | **Not yet Implemented**
PERCENTRANK.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::PERCENTRANK PERCENTRANK.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::PERCENTRANK
PERMUT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::PERMUT PERMUT | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Permutations::PERMUT
PERMUTATIONA | **Not yet Implemented** PERMUTATIONA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Permutations::PERMUTATIONA
PHI | **Not yet Implemented** PHI | **Not yet Implemented**
POISSON | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::POISSON POISSON | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Poisson::distribution
POISSON.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::POISSON POISSON.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Poisson::distribution
PROB | **Not yet Implemented** PROB | **Not yet Implemented**
QUARTILE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::QUARTILE QUARTILE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::QUARTILE
QUARTILE.EXC | **Not yet Implemented** QUARTILE.EXC | **Not yet Implemented**
QUARTILE.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::QUARTILE QUARTILE.INC | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::QUARTILE
RANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::RANK RANK | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::RANK
RANK.AVG | **Not yet Implemented** RANK.AVG | **Not yet Implemented**
RANK.EQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::RANK RANK.EQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Percentiles::RANK
RSQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::RSQ RSQ | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::RSQ
SKEW | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::SKEW SKEW | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Deviations::skew
SKEW.P | **Not yet Implemented** SKEW.P | **Not yet Implemented**
SLOPE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::SLOPE SLOPE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::SLOPE
SMALL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::SMALL SMALL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Size::small
STANDARDIZE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STANDARDIZE STANDARDIZE | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Standardize::execute
STDEV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEV STDEV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEV
STDEV.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEVP STDEV.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEVP
STDEV.S | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEV STDEV.S | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEV
STDEVA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEVA STDEVA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEVA
STDEVP | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEVP STDEVP | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEVP
STDEVPA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STDEVPA STDEVPA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\StandardDeviations::STDEVPA
STEYX | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::STEYX STEYX | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::STEYX
TDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::TDIST
T.DIST | **Not yet Implemented** T.DIST | **Not yet Implemented**
T.DIST.2T | **Not yet Implemented** T.DIST.2T | **Not yet Implemented**
T.DIST.RT | **Not yet Implemented** T.DIST.RT | **Not yet Implemented**
TINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::TINV T.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StudentT::inverse
T.INV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::TINV
T.INV.2T | **Not yet Implemented** T.INV.2T | **Not yet Implemented**
TREND | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::TREND
TRIMMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::TRIMMEAN
TTEST | **Not yet Implemented**
T.TEST | **Not yet Implemented** T.TEST | **Not yet Implemented**
VAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARFunc TDIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StudentT::distribution
VAR.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARP TINV | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StudentT::inverse
VAR.S | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARFunc TREND | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Trends::TREND
VARA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARA TRIMMEAN | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages\Mean::trim
VARP | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARP TTEST | **Not yet Implemented**
VARPA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARPA VAR | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VAR
WEIBULL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::WEIBULL VAR.P | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VARP
WEIBULL.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::WEIBULL VAR.S | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VAR
ZTEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::ZTEST VARA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VARA
Z.TEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::ZTEST VARP | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VARP
VARPA | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Variances::VARPA
WEIBULL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Weibull::distribution
WEIBULL.DIST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\Weibull::distribution
Z.TEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::zTest
ZTEST | \PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\StandardNormal::zTest
## CATEGORY_TEXT_AND_DATA ## CATEGORY_TEXT_AND_DATA
@ -496,49 +497,49 @@ Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
ASC | **Not yet Implemented** ASC | **Not yet Implemented**
BAHTTEXT | **Not yet Implemented** BAHTTEXT | **Not yet Implemented**
CHAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData::CHARACTER CHAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert::character
CLEAN | \PhpOffice\PhpSpreadsheet\Calculation\TextData::TRIMNONPRINTABLE CLEAN | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Trim::nonPrintable
CODE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::ASCIICODE CODE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert::code
CONCAT | \PhpOffice\PhpSpreadsheet\Calculation\TextData::CONCATENATE CONCAT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate::CONCATENATE
CONCATENATE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::CONCATENATE CONCATENATE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate::CONCATENATE
DBCS | **Not yet Implemented** DBCS | **Not yet Implemented**
DOLLAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData::DOLLAR DOLLAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Format::DOLLAR
EXACT | \PhpOffice\PhpSpreadsheet\Calculation\TextData::EXACT EXACT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Text::exact
FIND | \PhpOffice\PhpSpreadsheet\Calculation\TextData::SEARCHSENSITIVE FIND | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Search::sensitive
FINDB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::SEARCHSENSITIVE FINDB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Search::sensitive
FIXED | \PhpOffice\PhpSpreadsheet\Calculation\TextData::FIXEDFORMAT FIXED | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Format::FIXEDFORMAT
JIS | **Not yet Implemented** JIS | **Not yet Implemented**
LEFT | \PhpOffice\PhpSpreadsheet\Calculation\TextData::LEFT LEFT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::left
LEFTB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::LEFT LEFTB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::left
LEN | \PhpOffice\PhpSpreadsheet\Calculation\TextData::STRINGLENGTH LEN | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Text::length
LENB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::STRINGLENGTH LENB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Text::length
LOWER | \PhpOffice\PhpSpreadsheet\Calculation\TextData::LOWERCASE LOWER | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert::lower
MID | \PhpOffice\PhpSpreadsheet\Calculation\TextData::MID MID | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::mid
MIDB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::MID MIDB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::mid
NUMBERVALUE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::NUMBERVALUE NUMBERVALUE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Format::NUMBERVALUE
PHONETIC | **Not yet Implemented** PHONETIC | **Not yet Implemented**
PROPER | \PhpOffice\PhpSpreadsheet\Calculation\TextData::PROPERCASE PROPER | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert::proper
REPLACE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::REPLACE REPLACE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace::replace
REPLACEB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::REPLACE REPLACEB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace::replace
REPT | str_repeat REPT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate::builtinREPT
RIGHT | \PhpOffice\PhpSpreadsheet\Calculation\TextData::RIGHT RIGHT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::right
RIGHTB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::RIGHT RIGHTB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract::right
SEARCH | \PhpOffice\PhpSpreadsheet\Calculation\TextData::SEARCHINSENSITIVE SEARCH | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Search::insensitive
SEARCHB | \PhpOffice\PhpSpreadsheet\Calculation\TextData::SEARCHINSENSITIVE SEARCHB | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Search::insensitive
SUBSTITUTE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::SUBSTITUTE SUBSTITUTE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace::substitute
T | \PhpOffice\PhpSpreadsheet\Calculation\TextData::RETURNSTRING T | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Text::test
TEXT | \PhpOffice\PhpSpreadsheet\Calculation\TextData::TEXTFORMAT TEXT | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Format::TEXTFORMAT
TEXTJOIN | \PhpOffice\PhpSpreadsheet\Calculation\TextData::TEXTJOIN TEXTJOIN | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate::TEXTJOIN
TRIM | \PhpOffice\PhpSpreadsheet\Calculation\TextData::TRIMSPACES TRIM | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Trim::spaces
UNICHAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData::CHARACTER UNICHAR | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert::character
UNICODE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::ASCIICODE UNICODE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert::code
UPPER | \PhpOffice\PhpSpreadsheet\Calculation\TextData::UPPERCASE UPPER | \PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert::upper
VALUE | \PhpOffice\PhpSpreadsheet\Calculation\TextData::VALUE VALUE | \PhpOffice\PhpSpreadsheet\Calculation\TextData\Format::VALUE
## CATEGORY_WEB ## CATEGORY_WEB
Excel Function | PhpSpreadsheet Function Excel Function | PhpSpreadsheet Function
--------------------|------------------------------------------- --------------------|-------------------------------------------
ENCODEURL | **Not yet Implemented** ENCODEURL | \PhpOffice\PhpSpreadsheet\Calculation\Web\Service::urlEncode
FILTERXML | **Not yet Implemented** FILTERXML | **Not yet Implemented**
WEBSERVICE | \PhpOffice\PhpSpreadsheet\Calculation\Web::WEBSERVICE WEBSERVICE | \PhpOffice\PhpSpreadsheet\Calculation\Web\Service::webService

File diff suppressed because it is too large Load Diff

View File

@ -201,7 +201,7 @@ $spreadsheet->getActiveSheet()->setCellValue('B8',$internalFormula);
``` ```
Currently, formula translation only translates the function names, the Currently, formula translation only translates the function names, the
constants TRUE and FALSE, and the function argument separators. constants TRUE and FALSE, and the function argument separators. Cell addressing using R1C1 formatting is not supported.
At present, the following locale settings are supported: At present, the following locale settings are supported:
@ -216,7 +216,7 @@ French | Français | fr
Hungarian | Magyar | hu Hungarian | Magyar | hu
Italian | Italiano | it Italian | Italiano | it
Dutch | Nederlands | nl Dutch | Nederlands | nl
Norwegian | Norsk | no Norwegian | Norsk Bokmål | nb
Polish | Jezyk polski | pl Polish | Jezyk polski | pl
Portuguese | Português | pt Portuguese | Português | pt
Brazilian Portuguese | Português Brasileiro | pt_br Brazilian Portuguese | Português Brasileiro | pt_br

View File

@ -921,6 +921,11 @@ class Calculation
'functionCall' => [Database\DVarP::class, 'evaluate'], 'functionCall' => [Database\DVarP::class, 'evaluate'],
'argumentCount' => '3', 'argumentCount' => '3',
], ],
'ECMA.CEILING' => [
'category' => Category::CATEGORY_MATH_AND_TRIG,
'functionCall' => [Functions::class, 'DUMMY'],
'argumentCount' => '1,2',
],
'EDATE' => [ 'EDATE' => [
'category' => Category::CATEGORY_DATE_AND_TIME, 'category' => Category::CATEGORY_DATE_AND_TIME,
'functionCall' => [DateTimeExcel\Month::class, 'adjust'], 'functionCall' => [DateTimeExcel\Month::class, 'adjust'],

View File

@ -0,0 +1,175 @@
<?php
namespace PhpOffice\PhpSpreadsheet;
use PhpOffice\PhpSpreadsheet\Cell\Cell;
use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Worksheet\Column;
use PhpOffice\PhpSpreadsheet\Worksheet\Row;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
class LocaleGenerator
{
private const EXCEL_FUNCTIONS_WORKSHEET = 'Excel Functions';
private const LOCALE_NAME_ROW = 1;
private const LOCALE_LANGUAGE_NAME_ROW = 2;
private const ENGLISH_LANGUAGE_NAME_ROW = 3;
private const FUNCTION_NAME_LIST_FIRST_ROW = 4;
private const ENGLISH_FUNCTION_CATEGORIES_COLUMN = 'A';
private const ENGLISH_FUNCTION_NAMES_COLUMN = 'B';
/**
* @var string $translationSpreadsheetName
*/
private $translationSpreadsheetName;
/**
* @var string $translationBaseFolder
*/
protected $translationBaseFolder;
protected $phpSpreadsheetFunctions;
/**
* @var Worksheet $translations
*/
private $translations;
protected $languageMap = [];
protected $functionMap = [];
public function __construct(
string $translationBaseFolder,
string $translationSpreadsheetName,
array $phpSpreadsheetFunctions
) {
$this->translationBaseFolder = $translationBaseFolder;
$this->translationSpreadsheetName = $translationSpreadsheetName;
$this->phpSpreadsheetFunctions = $phpSpreadsheetFunctions;
}
public function generateLocales()
{
$this->openTranslationSheet();
$this->mapLanguageColumns();
$this->mapFunctionRows();
foreach ($this->languageMap as $column => $locale) {
$this->buildLocaleFile($column, $locale);
}
}
protected function buildLocaleFile($column, $locale)
{
$language = $this->translations->getCell($column . self::ENGLISH_LANGUAGE_NAME_ROW)->getValue();
$localeLanguage = $this->translations->getCell($column . self::LOCALE_LANGUAGE_NAME_ROW)->getValue();
$functionFile = $this->openFunctionFile($locale, $language, $localeLanguage);
foreach ($this->functionMap as $functionName => $row) {
$translationCell = $this->translations->getCell($column . $row);
$translationValue = $translationCell->getValue();
if ($this->isCategoryEntry($translationCell)) {
fwrite($functionFile, PHP_EOL . '##' . PHP_EOL);
fwrite($functionFile, '## ' . $translationValue . " ({$functionName})" . PHP_EOL);
fwrite($functionFile, '##' . PHP_EOL);
} elseif (!array_key_exists($functionName, $this->phpSpreadsheetFunctions)) {
echo "Function {$functionName} is not defined in PhpSpreadsheet", PHP_EOL;
} elseif (!empty($translationValue)) {
$functionTranslation = "{$functionName} = {$translationValue}" . PHP_EOL;
fwrite($functionFile, $functionTranslation);
} else {
echo "No {$language} translation available for function {$functionName}", PHP_EOL;
}
}
fclose($functionFile);
}
protected function openFunctionFile(string $locale, string $language, string $localeLanguage)
{
echo "Building locale {$locale} ($language)", PHP_EOL;
$localeFolder = $this->translationBaseFolder . '/' . str_replace('_', DIRECTORY_SEPARATOR, $locale);
if (!file_exists($localeFolder) || !is_dir($localeFolder)) {
mkdir($localeFolder, 0777, true);
}
$functionFileName = realpath($localeFolder . '/' . 'functions');
echo "Writing local function names to {$functionFileName}", PHP_EOL;
$functionFileName = 'php://stdout';
$functionFile = fopen($functionFileName, 'w');
fwrite($functionFile, '##' . PHP_EOL);
fwrite($functionFile, "## {$localeLanguage} ({$language})" . PHP_EOL);
fwrite($functionFile, '##' . PHP_EOL . PHP_EOL);
return $functionFile;
}
protected function openTranslationSheet(): void
{
$filepathName = $this->translationBaseFolder . '/' . $this->translationSpreadsheetName;
$translationSpreadsheet = IOFactory::load($filepathName);
$this->translations = $translationSpreadsheet->setActiveSheetIndexByName(self::EXCEL_FUNCTIONS_WORKSHEET);
if ($this->translations === null) {
throw new Exception('Translation Worksheet not found');
}
}
protected function mapLanguageColumns(): void
{
echo 'MAPPING LANGUAGES:', PHP_EOL;
$baseColumn = self::ENGLISH_FUNCTION_NAMES_COLUMN;
$languagesList = $this->translations->getColumnIterator(++$baseColumn);
foreach ($languagesList as $languageColumn) {
/** @var Column $languageColumn */
$cells = $languageColumn->getCellIterator(self::LOCALE_NAME_ROW, self::LOCALE_NAME_ROW);
$cells->setIterateOnlyExistingCells(true);
foreach ($cells as $cell) {
/** @var Cell $cell */
$this->languageMap[$cell->getColumn()] = $cell->getValue();
echo $cell->getColumn(), ' -> ', $cell->getValue(), PHP_EOL;
}
}
}
protected function mapFunctionRows(): void
{
echo 'MAPPING FUNCTIONS:', PHP_EOL;
$functionList = $this->translations->getRowIterator(self::FUNCTION_NAME_LIST_FIRST_ROW);
foreach ($functionList as $functionRow) {
/** @var Row $functionRow */
$cells = $functionRow->getCellIterator(self::ENGLISH_FUNCTION_NAMES_COLUMN, self::ENGLISH_FUNCTION_NAMES_COLUMN);
$cells->setIterateOnlyExistingCells(true);
foreach ($cells as $cell) {
/** @var Cell $cell */
if ($this->isCategoryEntry($cell)) {
if (!empty($cell->getValue())) {
echo 'CATEGORY: ', $cell->getValue(), PHP_EOL;
$this->functionMap[$cell->getValue()] = $cell->getRow();
}
continue;
}
if ($cell->getValue() != '') {
if (is_bool($cell->getValue())) {
echo $cell->getRow(), ' -> ', ($cell->getValue() ? 'TRUE' : 'FALSE'), PHP_EOL;
$this->functionMap[($cell->getValue() ? 'TRUE' : 'FALSE')] = $cell->getRow();
} else {
echo $cell->getRow(), ' -> ', $cell->getValue(), PHP_EOL;
$this->functionMap[$cell->getValue()] = $cell->getRow();
}
}
}
}
}
private function isCategoryEntry(Cell $cell): bool
{
$categoryCheckCell = self::ENGLISH_FUNCTION_CATEGORIES_COLUMN . $cell->getRow();
if ($this->translations->getCell($categoryCheckCell)->getValue() != '') {
return true;
}
return false;
}
}