Recently I was asked to make a real-time project in Excel which evolves huge amount of data. I have this data stored in SQL Tables and managed to successfully bring it into Excel.
SQL Table on Excel:
Then, according to three first columns (primary keys of the table), I want to get the corresponding value and put it into a cell.
For so, I used the following formula:
=XLOOKUP(Resumo!H$1&Resumo!E$50&Resumo!$B66, (Table_fixed_income_1[bond])&(Table_fixed_income_1[term])&(Table_fixed_income_1[date]),Table_fixed_income_1[value]/100)
It worked as intended, but a new problem arose: Excel is now very slow. There is about 4500 lines for each of the 4 main columns, resulting in 18k unique cells calculations (resulting about 5-10 minutes). The problem will grow even more considering the data in SQL is a small test table and the prod one is much bigger.
I would like to know if there is a way to make the specified project part faster.
Obs.: Some suggestions I already thought about evolved getting data from the SQL DB directly to the Cells and using different formula, but I do not have an extensive Excel knowledge to embrace it.