Any ideas on what would be the best option to populate 65k cells in excel from access?
So far I have tried to options.
First, import all relevant rows to separate sheet in same file and access these with vlookup. Works, but i get the feeling that not as elegant solution as it could be.
Second, create custom formula that queries database for individual values. opens and closes db connection each time. SLOW.
To further clarify my situation. I have weeks of year in columns and products on rows. Each product has 7 rows, one for each unit. So I fetch the value based on product id, week and unit id. Values are unique and I have identifier field in database for this purpose. Cell values are quantities.
So for example product 001 on week 1 for unit AAA identifier is 001#1#AAA.
Also, there are rows for manual dataentry and sums for every product. These stay in this file and don't have any connection to access. All units might have all products but might as well not.
Any ideas?
So far I have tried to options.
First, import all relevant rows to separate sheet in same file and access these with vlookup. Works, but i get the feeling that not as elegant solution as it could be.
Second, create custom formula that queries database for individual values. opens and closes db connection each time. SLOW.
To further clarify my situation. I have weeks of year in columns and products on rows. Each product has 7 rows, one for each unit. So I fetch the value based on product id, week and unit id. Values are unique and I have identifier field in database for this purpose. Cell values are quantities.
So for example product 001 on week 1 for unit AAA identifier is 001#1#AAA.
Also, there are rows for manual dataentry and sums for every product. These stay in this file and don't have any connection to access. All units might have all products but might as well not.
Any ideas?
Last edited: