Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
dc51600
Function SUBTOTAL init
voodoo11 Oct 2, 2020
9dd7ab6
Simply use implementations of AVERAGE, SUM, COUNT, COUNTA, MAX, MIN
voodoo11 Oct 2, 2020
abdfd0c
Sort translations
voodoo11 Oct 2, 2020
4c81061
Function PRODUCT
voodoo11 Oct 2, 2020
60149f7
function implementations
izulin Oct 3, 2020
41ee6d2
translations
izulin Oct 3, 2020
c209d65
translations
izulin Oct 3, 2020
6a1b114
.
izulin Oct 3, 2020
2efeb98
translations
izulin Oct 3, 2020
f9edac7
docs
izulin Oct 3, 2020
6b94282
linter
izulin Oct 3, 2020
dc35208
fixed translation
izulin Oct 3, 2020
b54a889
a-versions
izulin Oct 4, 2020
01362bb
.
izulin Oct 4, 2020
cd1cd17
.
izulin Oct 4, 2020
6dc222a
.
izulin Oct 4, 2020
04f53bb
.
izulin Oct 4, 2020
8590b38
docs
izulin Oct 4, 2020
b54126a
Merge branch 'develop' into jk/subtotal
izulin Oct 4, 2020
8ed9107
Update CHANGELOG.md
izulin Oct 4, 2020
c722b94
Remove TODO
voodoo11 Oct 4, 2020
c236f13
docs
izulin Oct 6, 2020
2aa3033
tests
izulin Oct 6, 2020
172f8d0
Update known-limitations.md
izulin Oct 6, 2020
60ad721
Update docs/guide/known-limitations.md
izulin Oct 7, 2020
18a77f9
small tests
izulin Oct 9, 2020
2ce1fb4
Merge branch 'develop' into jk/subtotal
izulin Oct 9, 2020
6b20777
tests
izulin Oct 9, 2020
3a3727e
.
izulin Oct 9, 2020
4403788
linter
izulin Oct 9, 2020
1b9468e
Update CHANGELOG.md
izulin Oct 10, 2020
1d51f1e
Merge branch 'develop' into jk/subtotal
izulin Oct 12, 2020
933ba3e
merge
izulin Oct 12, 2020
569a152
tests descriptions
izulin Oct 14, 2020
bb327b7
Merge branch 'develop' into jk/subtotal
izulin Oct 14, 2020
25e1a39
Update docs/guide/known-limitations.md
izulin Oct 14, 2020
1e141b2
Update test/interpreter/function-varpa.spec.ts
izulin Oct 14, 2020
7adf577
Update test/interpreter/function-varp.spec.ts
izulin Oct 14, 2020
c882391
Update test/interpreter/function-vars.spec.ts
izulin Oct 14, 2020
eeb69ce
Update test/interpreter/function-vara.spec.ts
izulin Oct 14, 2020
faf1645
.
izulin Oct 14, 2020
601f5b6
aliases
izulin Oct 14, 2020
9d3c779
docs
izulin Oct 14, 2020
b271ea4
tests for aliases
izulin Oct 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added 9 text functions EXACT, LOWER, UPPER, MID, T, SUBSTITUTE, REPLACE, UNICODE, UNICHAR. (#159)
- Added 5 datetime functions: INTERVAL, NETWORKDAYS, NETWORKDAYS.INTL, WORKDAY, WORKDAY.INTL. (#153)
- Added 3 information functions HLOOKUP, ROW, COLUMN. (#158)
- Added 8 statistical functions VAR.P, VAR.S, VARA, VARPA, STDEV.P, STDEV.S, STDEVA, STDEVPA.
- Added 1 mathematical function SUBTOTAL.
Comment thread
izulin marked this conversation as resolved.
Resolved

### Fixed
- Fixed multiple issues with VLOOKUP function. (#526, #528)
Expand Down
9 changes: 9 additions & 0 deletions docs/guide/built-in-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ lets you design your own [custom functions](custom-functions).
| SIN | Math and trigonometry | Returns the sine of the given angle (in radians). | SIN(Number) |
| SINH <br><Badge text="v0.2.0"/>| Math and trigonometry | Returns the hyperbolic sine of the given value. | SINH(Number) |
| SQRT | Math and trigonometry | Returns the positive square root of a number. | SQRT(Number) |
| SUBTOTAL | Math and trigonometry | Computes aggregation using function specified by number. | SUBTOTAL(Function; Number1; Number2; ... Number30) |
| SUM | Math and trigonometry | Adds all the numbers in a range of cells. | SUM(Number1; Number2; ...; Number30) |
| SUMIF | Math and trigonometry | Adds the cells specified by given criteria. | SUMIF(Range; Criteria; Sumrange) |
| SUMIFS | Math and trigonometry | Returns the sum of the values of cells in a range that meets multiple criteria in multiple ranges. | SUMIFS(Sum_Range ; Criterion_range1 ; Criterion1 [ ; Criterion_range2 ; Criterion2 [;...]]) |
Expand All @@ -233,6 +234,14 @@ lets you design your own [custom functions](custom-functions).
| MEDIAN | Statistical | Returns the median of a set of numbers. | MEDIAN(Number1; Number2; ...Number30) |
| MIN | Statistical | Returns the minimum value in a list of arguments. | MIN(Number1; Number2; ...Number30) |
| MINA | Statistical | Returns the minimum value in a list of arguments. | MINA(Value1; Value2; ... Value30) |
| STDEVA | Statistical | Returns standard deviation of a sample. | STDEVA(Value1; Value2; ... Value30) |
| STDEV.P | Statistical | Returns standard deviation of a population. | STDEV.P(Value1; Value2; ... Value30) |
| STDEVPA | Statistical | Returns standard deviation of a population. | STDEVPA(Value1; Value2; ... Value30) |
| STDEV.S | Statistical | Returns standard deviation of a sample. | STDEV.S(Value1; Value2; ... Value30) |
| VARA | Statistical | Returns variance of a sample. | VARA(Value1; Value2; ... Value30) |
| VAR.P | Statistical | Returns variance of a population. | VAR.P(Value1; Value2; ... Value30) |
| VARPA | Statistical | Returns variance of a population. | VARPA(Value1; Value2; ... Value30) |
| VAR.S | Statistical | Returns variance of a sample. | VAR.S(Value1; Value2; ... Value30) |
Comment thread
izulin marked this conversation as resolved.
Resolved
| CHAR | Text | Converts a number into a character according to the current code table. | CHAR(Number) |
| CLEAN <br><Badge text="v0.2.0"/>| Text | Returns text that has been "cleaned" of line breaks and other non-printable characters. | CLEAN("Text") |
| CLEAN | Text | Returns text that has been "cleaned" of line breaks and other non-printable characters. | CLEAN("Text") |
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/csCZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'NEBO',
PI: 'PI',
PMT: 'PLATBA',
SUBSTITUTE: 'DOSADIT',
PRODUCT: 'SOUČIN',
Comment thread
izulin marked this conversation as resolved.
Resolved
POWER: 'POWER',
PPMT: 'PLATBA.ZÁKLAD',
PROPER: 'VELKÁ2',
PV: 'SOUČHODNOTA',
RADIANS: 'RADIANS',
RAND: 'NÁHČÍSLO',
RATE: 'ÚROKOVÁ.MÍRA',
REPLACE: 'NAHRADIT',
REPT: 'OPAKOVAT',
RIGHT: 'ZPRAVA',
ROUND: 'ZAOKROUHLIT',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'ODPIS.LIN',
SPLIT: 'SPLIT',
SQRT: 'ODMOCNINA',
STDEVA: 'STDEVA',
'STDEV.P': 'SMODCH.P',
STDEVPA: 'STDEVPA',
'STDEV.S': 'SMODCH.VÝBĚR.S',
SUBSTITUTE: 'DOSADIT',
SUBTOTAL: 'SUBTOTAL',
SUM: 'SUMA',
SUMIF: 'SUMIF',
SUMIFS: 'SUMIFS',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICHAR',
UNICODE: 'UNICODE',
UPPER: 'VELKÁ',
VARA: 'VARA',
'VAR.P': 'VAR.P',
VARPA: 'VARPA',
'VAR.S': 'VAR.S',
VLOOKUP: 'SVYHLEDAT',
WEEKDAY: 'DENTÝDNE',
WEEKNUM: 'WEEKNUM',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'XOR',
YEAR: 'ROK',
YEARFRAC: 'YEARFRAC',
REPLACE: 'NAHRADIT',
},
langCode: 'csCZ',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/daDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'ELLER',
PI: 'PI',
PMT: 'YDELSE',
SUBSTITUTE: 'UDSKIFT',
PRODUCT: 'PRODUKT',
POWER: 'POTENS',
PPMT: 'H.YDELSE',
PROPER: 'STORT.FORBOGSTAV',
PV: 'NV',
RADIANS: 'RADIANER',
RAND: 'SLUMP',
RATE: 'RENTE',
REPLACE: 'ERSTAT',
REPT: 'GENTAG',
RIGHT: 'HØJRE',
ROUND: 'AFRUND',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'LA',
SPLIT: 'SPLIT',
SQRT: 'KVROD',
STDEVA: 'STDAFVV',
'STDEV.P': 'STDAFV.P',
STDEVPA: 'STDAFVPV',
'STDEV.S': 'STDAFV.S',
SUBSTITUTE: 'UDSKIFT',
SUBTOTAL: 'SUBTOTAL',
SUM: 'SUM',
SUMIF: 'SUM.HVIS',
SUMIFS: 'SUM.HVISER',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICHAR',
UNICODE: 'UNICODE',
UPPER: 'STORE.BOGSTAVER',
VARA: 'VARIANSV',
'VAR.P': 'VARIANS.P',
VARPA: 'VARIANSPV',
'VAR.S': 'VARIANS.S',
VLOOKUP: 'LOPSLAG',
WEEKDAY: 'UGEDAG',
WEEKNUM: 'UGE.NR',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'XELLER',
YEAR: 'ÅR',
YEARFRAC: 'ÅR.BRØK',
REPLACE: 'ERSTAT',
},
langCode: 'daDK',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/deDE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'ODER',
PI: 'PI',
PMT: 'RMZ',
SUBSTITUTE: 'WECHSELN',
PRODUCT: 'PRODUKT',
POWER: 'POTENZ',
PPMT: 'KAPZ',
PROPER: 'GROSS2',
PV: 'BW',
RADIANS: 'BOGENMASS',
RAND: 'ZUFALLSZAHL',
RATE: 'ZINS',
REPLACE: 'ERSETZEN',
REPT: 'WIEDERHOLEN',
RIGHT: 'RECHTS',
ROUND: 'RUNDEN',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'LIA',
SPLIT: 'SPLIT',
SQRT: 'WURZEL',
STDEVA: 'STABWA',
'STDEV.P': 'STABW.N',
STDEVPA: 'STABWNA',
'STDEV.S': 'STABW.S',
SUBSTITUTE: 'WECHSELN',
SUBTOTAL: 'TEILERGEBNIS',
SUM: 'SUMME',
SUMIF: 'SUMMEWENN',
SUMIFS: 'SUMMEWENNS',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNIZEICHEN',
UNICODE: 'UNICODE',
UPPER: 'GROSS',
VARA: 'VARIANZA',
'VAR.P': 'VAR.P',
VARPA: 'VARIANZENA',
'VAR.S': 'VAR.S',
VLOOKUP: 'SVERWEIS',
WEEKDAY: 'WOCHENTAG',
WEEKNUM: 'KALENDERWOCHE',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'XODER',
YEAR: 'JAHR',
YEARFRAC: 'BRTEILJAHRE',
REPLACE: 'ERSETZEN',
},
langCode: 'deDE',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/enGB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'OR',
PI: 'PI',
PMT: 'PMT',
SUBSTITUTE: 'SUBSTITUTE',
PRODUCT: 'PRODUCT',
POWER: 'POWER',
PPMT: 'PPMT',
PROPER: 'PROPER',
PV: 'PV',
RADIANS: 'RADIANS',
RAND: 'RAND',
RATE: 'RATE',
REPLACE: 'REPLACE',
REPT: 'REPT',
RIGHT: 'RIGHT',
ROUND: 'ROUND',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'SLN',
SPLIT: 'SPLIT',
SQRT: 'SQRT',
STDEVA: 'STDEVA',
'STDEV.P': 'STDEV.P',
STDEVPA: 'STDEVPA',
'STDEV.S': 'STDEV.S',
SUBSTITUTE: 'SUBSTITUTE',
SUBTOTAL: 'SUBTOTAL',
SUM: 'SUM',
SUMIF: 'SUMIF',
SUMIFS: 'SUMIFS',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICHAR',
UNICODE: 'UNICODE',
UPPER: 'UPPER',
VARA: 'VARA',
'VAR.P': 'VAR.P',
VARPA: 'VARPA',
'VAR.S': 'VAR.S',
VLOOKUP: 'VLOOKUP',
WEEKDAY: 'WEEKDAY',
WEEKNUM: 'WEEKNUM',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'XOR',
YEAR: 'YEAR',
YEARFRAC: 'YEARFRAC',
REPLACE: 'REPLACE',
},
langCode: 'enGB',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/esES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ export const dictionary: RawTranslationPackage = {
OR: 'O',
PI: 'PI',
PMT: 'PAGO',
SUBSTITUTE: 'SUSTITUIR',
PRODUCT: 'PRODUCTO',
POWER: 'POTENCIA',
PPMT: 'PAGOPRIN',
PROPER: 'NOMPROPIO',
PV: 'VA',
RADIANS: 'RADIANES',
RAND: 'ALEATORIO',
RATE: 'TASA',
REPLACE: 'REEMPLAZAR',
REPT: 'REPETIR',
RIGHT: 'DERECHA',
ROUND: 'REDONDEAR',
Expand All @@ -180,6 +181,12 @@ export const dictionary: RawTranslationPackage = {
SLN: 'SLN',
SPLIT: 'SPLIT',
SQRT: 'RAIZ',
STDEVA: 'DESVESTA',
'STDEV.P': 'DESVEST.P',
STDEVPA: 'DESVESTPA',
'STDEV.S': 'DESVEST.M',
SUBSTITUTE: 'SUSTITUIR',
SUBTOTAL: 'SUBTOTALES',
SUM: 'SUMA',
SUMIF: 'SUMAR.SI',
SUMIFS: 'SUMAR.SI.CONJUNTO',
Expand All @@ -204,6 +211,10 @@ export const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICHAR',
UNICODE: 'UNICODE',
UPPER: 'MAYUSC',
VARA: 'VARA',
'VAR.P': 'VAR.P',
VARPA: 'VARPA',
'VAR.S': 'VAR.S',
VLOOKUP: 'BUSCARV',
WEEKDAY: 'DIASEM',
WEEKNUM: 'NUM.DE.SEMANA',
Expand All @@ -212,7 +223,6 @@ export const dictionary: RawTranslationPackage = {
XOR: 'XOR',
YEAR: 'AÑO',
YEARFRAC: 'FRAC.AÑO',
REPLACE: 'REEMPLAZAR',
},
langCode: 'esES',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/fiFI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'TAI',
PI: 'PII',
PMT: 'MAKSU',
SUBSTITUTE: 'VAIHDA',
PRODUCT: 'TULO',
POWER: 'POTENSSI',
PPMT: 'PPMT',
PROPER: 'ERISNIMI',
PV: 'NA',
RADIANS: 'RADIAANIT',
RAND: 'SATUNNAISLUKU',
RATE: 'KORKO',
REPLACE: 'KORVAA',
REPT: 'TOISTA',
RIGHT: 'OIKEA',
ROUND: 'PYÖRISTÄ',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'STP',
SPLIT: 'SPLIT',
SQRT: 'NELIÖJUURI',
STDEVA: 'KESKIHAJONTAA',
'STDEV.P': 'KESKIHAJONTA.P',
STDEVPA: 'KESKIHAJONTAPA',
'STDEV.S': 'KESKIHAJONTA.S',
SUBSTITUTE: 'VAIHDA',
SUBTOTAL: 'VÄLISUMMA',
SUM: 'SUMMA',
SUMIF: 'SUMMA.JOS',
SUMIFS: 'SUMMA.JOS.JOUKKO',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICODEMERKKI',
UNICODE: 'UNICODE',
UPPER: 'ISOT',
VARA: 'VARA',
'VAR.P': 'VAR.P',
VARPA: 'VARPA',
'VAR.S': 'VAR.S',
VLOOKUP: 'PHAKU',
WEEKDAY: 'VIIKONPÄIVÄ',
WEEKNUM: 'VIIKKO.NRO',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'EHDOTON.TAI',
YEAR: 'VUOSI',
YEARFRAC: 'VUOSI.OSA',
REPLACE: 'KORVAA',
},
langCode: 'fiFI',
ui: {
Expand Down
14 changes: 12 additions & 2 deletions src/i18n/languages/frFR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ const dictionary: RawTranslationPackage = {
OR: 'OU',
PI: 'PI',
PMT: 'VPM',
SUBSTITUTE: 'SUBSTITUE',
PRODUCT: 'PRODUIT',
POWER: 'PUISSANCE',
PPMT: 'PRINCPER',
PROPER: 'NOMPROPRE',
PV: 'VA',
RADIANS: 'RADIANS',
RAND: 'ALEA',
RATE: 'TAUX',
REPLACE: 'REMPLACER',
REPT: 'REPT',
RIGHT: 'DROITE',
ROUND: 'ARRONDI',
Expand All @@ -180,6 +181,12 @@ const dictionary: RawTranslationPackage = {
SLN: 'AMORLIN',
SPLIT: 'SPLIT',
SQRT: 'RACINE',
STDEVA: 'STDEVA',
'STDEV.P': 'ECARTYPE.PEARSON',
STDEVPA: 'STDEVPA',
'STDEV.S': 'ECARTYPE.STANDARD',
SUBSTITUTE: 'SUBSTITUE',
SUBTOTAL: 'SOUS.TOTAL',
SUM: 'SOMME',
SUMIF: 'SOMME.SI',
SUMIFS: 'SOMME.SI.ENS',
Expand All @@ -204,6 +211,10 @@ const dictionary: RawTranslationPackage = {
UNICHAR: 'UNICAR',
UNICODE: 'UNICODE',
UPPER: 'MAJUSCULE',
VARA: 'VARA',
'VAR.P': 'VAR.P.N',
VARPA: 'VARPA',
'VAR.S': 'VAR.S',
VLOOKUP: 'RECHERCHEV',
WEEKDAY: 'JOURSEM',
WEEKNUM: 'NO.SEMAINE',
Expand All @@ -212,7 +223,6 @@ const dictionary: RawTranslationPackage = {
XOR: 'OUX',
YEAR: 'ANNEE',
YEARFRAC: 'FRACTION.ANNEE',
REPLACE: 'REMPLACER',
},
langCode: 'frFR',
ui: {
Expand Down
Loading