Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLOOKUP function #1469

Merged
merged 48 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
932e8c0
ISS-1 sapiologie/hyperformula XLOOKUP in built-in-functions.md
selimyoussry Jun 15, 2024
f0f9545
ISS-1 sapiologie/hyperformula add translations
selimyoussry Jun 15, 2024
384bcb8
ISS-1 sapiologie/hyperformula placeholder function and test
selimyoussry Jun 15, 2024
eecce3a
ISS-1 sapiologie/hyperformula progress on Xlookup logic
selimyoussry Jun 16, 2024
e9cabd6
ISS-1 sapiologie/hyperformula Working XLOOKUP without support for opt…
selimyoussry Jun 16, 2024
83be86c
ISS-1 sapiologie/hyperformula override default if_not_found
selimyoussry Jun 16, 2024
5101a90
ISS-1 sapiologie/hyperformula add commented out range function return…
selimyoussry Jun 16, 2024
08445d1
ISS-1 sapiologie/hyperformula update the doc to reflect limitations
selimyoussry Jun 16, 2024
9ece67c
ISS-1 sapiologie/hyperformula Set vectorizationForbidden: true on XLO…
selimyoussry Jun 17, 2024
9c448c2
Add test suite for the XLOOKUP function
sequba Dec 5, 2024
167cac8
Plan basic tests for XLOOKUP
sequba Dec 5, 2024
1f9d091
Merge branch 'iss-1-xlookup' of github.com:sapiologie/hyperformula in…
sequba Dec 5, 2024
0811866
Merge branch 'sapiologie-iss-1-xlookup' into feature/issue-1458
sequba Dec 5, 2024
8699958
Make XLOOKUP work in basic mode
sequba Dec 5, 2024
13b9cc0
Make XLOOKUP return a range
sequba Dec 5, 2024
d3c6a26
Add unit tests about the types of argument
sequba Dec 5, 2024
af99365
Fix XLOOKUP for scenario with 2D returnArray
sequba Dec 5, 2024
052e30c
Add unit tests for argument validation
sequba Dec 7, 2024
e1cd83b
Add official Exel example 4
sequba Dec 7, 2024
3135c28
Implement XLOOKUP for single-cell ranges
sequba Dec 8, 2024
4a15b95
Refactor xlookupArraySize function
sequba Dec 9, 2024
7cd0a99
Fix the single-cell ranges tests
sequba Dec 9, 2024
bfac296
Add unit tests for non-default searchMode
sequba Dec 9, 2024
d045b81
Make XLOOKUP handle sorted ranges
sequba Dec 17, 2024
19a4d8e
Return NotFound if there is no match in sprted ranges
sequba Dec 18, 2024
f25b623
Finish implementing searchMode for XLOOKUP
sequba Dec 18, 2024
5c4b5a2
Add unit tests for ColumnIndex column search strategy
sequba Dec 18, 2024
5829994
Add unt tests for matchMode
sequba Dec 20, 2024
fd1001f
Make searchStrategy.find() able to return lower/upper bound if there …
sequba Dec 22, 2024
2c4967b
Add unit tests for matchMode -1
sequba Dec 22, 2024
47adb9b
Improve AdvancedFind.basicFind() to handle lower and upper bounds whe…
sequba Dec 22, 2024
71cec98
Implement matchMode -1 and 1 for XLOOKUP
sequba Dec 22, 2024
c8f7c11
Fix the issue with MATCH function
sequba Dec 22, 2024
b6a8449
Fixx ColumnIndex.find() issue
sequba Dec 22, 2024
8f7bdd4
Implement wildcard match for XLOOKUP
sequba Dec 23, 2024
56b4d83
Add more unit tests
sequba Jan 2, 2025
4ccbca4
Add unit tests for wildcard match with ColumnIndex column search stra…
sequba Jan 2, 2025
1fedb19
Improve descriptions of some unit tests
sequba Jan 2, 2025
a6d3049
Fix lint error
sequba Jan 2, 2025
814049b
Add changelog entry
sequba Jan 2, 2025
db6e4b3
Describe XOOKUP in the built-in functions guide
sequba Jan 2, 2025
c420918
Rephrase XLOOKUP description
sequba Jan 2, 2025
c02f877
Merge branch 'develop' into feature/issue-1458
sequba Jan 2, 2025
e70a56b
Remove redundant\ comments
sequba Jan 2, 2025
a398fb1
Refactor findLastOccurrenceInOrderedRange function
sequba Jan 2, 2025
24f7d04
Fix misspelled word occurrence
sequba Jan 2, 2025
e6d8013
Remove redundant comment
sequba Jan 2, 2025
52f540f
Remove redundant guards
sequba Jan 3, 2025
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
Prev Previous commit
Next Next commit
ISS-1 sapiologie/hyperformula add translations
  • Loading branch information
selimyoussry committed Jun 15, 2024
commit f0f954526b69579909f08617d1d050c5acbf0e2c
1 change: 1 addition & 0 deletions src/i18n/languages/csCZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'WEEKNUM',
WORKDAY: 'WORKDAY',
'WORKDAY.INTL': 'WORKDAY.INTL',
XLOOKUP: 'XVYHLEDAT',
XNPV: 'XNPV',
XOR: 'XOR',
YEAR: 'ROK',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/daDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'UGE.NR',
WORKDAY: 'ARBEJDSDAG',
'WORKDAY.INTL': 'ARBEJDSDAG.INTL',
XLOOKUP: 'XOPSLAG',
XNPV: 'NETTO.NUTIDSVÆRDI',
XOR: 'XELLER',
YEAR: 'ÅR',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/deDE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'KALENDERWOCHE',
WORKDAY: 'ARBEITSTAG',
'WORKDAY.INTL': 'ARBEITSTAG.INTL',
XLOOKUP: 'XVERWEIS',
XNPV: 'XKAPITALWERT',
XOR: 'XODER',
YEAR: 'JAHR',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/enGB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ const dictionary: RawTranslationPackage = {
'WORKDAY.INTL': 'WORKDAY.INTL',
XNPV: 'XNPV',
XOR: 'XOR',
XLOOKUP: 'XLOOKUP',
YEAR: 'YEAR',
YEARFRAC: 'YEARFRAC',
'HF.ADD': 'HF.ADD',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/esES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export const dictionary: RawTranslationPackage = {
WEEKNUM: 'NUM.DE.SEMANA',
WORKDAY: 'DIA.LAB',
'WORKDAY.INTL': 'DIA.LAB.INTL',
XLOOKUP: 'BUSCARX',
XNPV: 'VNA.NO.PER',
XOR: 'XOR',
YEAR: 'AÑO',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/fiFI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'VIIKKO.NRO',
WORKDAY: 'TYÖPÄIVÄ',
'WORKDAY.INTL': 'TYÖPÄIVÄ.KANSVÄL',
XLOOKUP: 'XHAKU',
XNPV: 'NNA.JAKSOTON',
XOR: 'EHDOTON.TAI',
YEAR: 'VUOSI',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/frFR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'NO.SEMAINE',
WORKDAY: 'SERIE.JOUR.OUVRE',
'WORKDAY.INTL': 'SERIE.JOUR.OUVRE.INTL',
XLOOKUP: 'RECHERCHEX',
XNPV: 'VAN.PAIEMENTS',
XOR: 'OUX',
YEAR: 'ANNEE',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/huHU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'HÉT.SZÁMA',
WORKDAY: 'KALK.MUNKANAP',
'WORKDAY.INTL': 'KALK.MUNKANAP.INTL',
XLOOKUP: 'XKERES',
XNPV: 'XNJÉ',
XOR: 'XVAGY',
YEAR: 'ÉV',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/itIT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'NUM.SETTIMANA',
WORKDAY: 'GIORNO.LAVORATIVO',
'WORKDAY.INTL': 'GIORNO.LAVORATIVO.INTL',
XLOOKUP: 'CERCA.X',
XNPV: 'VAN.X',
XOR: 'XOR',
YEAR: 'ANNO',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/nbNO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'UKENR',
WORKDAY: 'ARBEIDSDAG',
'WORKDAY.INTL': 'ARBEIDSDAG.INTL',
XLOOKUP: 'XOPPSLAG',
XNPV: 'XNNV',
XOR: 'EKSKLUSIVELLER',
YEAR: 'ÅR',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/nlNL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'WEEKNUMMER',
WORKDAY: 'WERKDAG',
'WORKDAY.INTL': 'WERKDAG.INTL',
XLOOKUP: 'X.ZOEKEN',
XNPV: 'NHW2',
XOR: 'EX.OF',
YEAR: 'JAAR',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/plPL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'NUM.TYG',
WORKDAY: 'DZIEŃ.ROBOCZY',
'WORKDAY.INTL': 'DZIEŃ.ROBOCZY.NIESTAND',
XLOOKUP: 'X.WYSZUKAJ',
XNPV: 'XNPV',
XOR: 'XOR',
YEAR: 'ROK',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/ptPT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'NÚMSEMANA',
WORKDAY: 'DIATRABALHO',
'WORKDAY.INTL': 'DIATRABALHO.INTL',
XLOOKUP: 'PROCX',
XNPV: 'XVPL',
XOR: 'OUEXCL',
YEAR: 'ANO',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/ruRU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'НОМНЕДЕЛИ',
WORKDAY: 'РАБДЕНЬ',
'WORKDAY.INTL': 'РАБДЕНЬ.МЕЖД',
XLOOKUP: 'ПРОСМОТРХ',
XNPV: 'ЧИСТНЗ',
XOR: 'ИСКЛИЛИ',
YEAR: 'ГОД',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/svSE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'VECKONR',
WORKDAY: 'ARBETSDAGAR',
'WORKDAY.INTL': 'ARBETSDAGAR.INT',
XLOOKUP: 'XLETAUPP',
XNPV: 'XNUVÄRDE',
XOR: 'XOR',
YEAR: 'ÅR',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/languages/trTR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ const dictionary: RawTranslationPackage = {
WEEKNUM: 'HAFTASAY',
WORKDAY: 'İŞGÜNÜ',
'WORKDAY.INTL': 'İŞGÜNÜ.ULUSL',
XLOOKUP: 'ÇAPRAZARA',
XNPV: 'ANBD',
XOR: 'ÖZELVEYA',
YEAR: 'YIL',
Expand Down