J
J. I. Howell
I have a number of large data tables in a SQL database that I need to
access from Excel. Currently I move the tables to Excel and use each
column as a range in a SumProduct formula, creating a single cell
result for each column.
I would like to expand the number of sumproduct functions to the point
that moving all the SQL tables into Excel is impractical. Can someone
tell me if and how I could directly reference the SQL data without
brining it into EXCEL. Esentially I wish to change
sumproduct(a1:a400,d1:d400) into an expression like
sumproduct(a1:a400, reference to external datasource).
When I am done with this operation I will have between 3500 and 10,000
of the sumproduct functions, hence the reason to avoid brining all the
database information into Excel.
The sumproduct functions are used in a linear optimization (a1:a400
are dynamic or adjustable for the optimization nuts in the group), so
the cells have to be dynamically linked to the database with formulas
that excel recognizes (I cannot simply solve the problem using VBA to
populate the sumproduct cells in excel).
Any and all ideas are encouraged.
Thanks,
John
access from Excel. Currently I move the tables to Excel and use each
column as a range in a SumProduct formula, creating a single cell
result for each column.
I would like to expand the number of sumproduct functions to the point
that moving all the SQL tables into Excel is impractical. Can someone
tell me if and how I could directly reference the SQL data without
brining it into EXCEL. Esentially I wish to change
sumproduct(a1:a400,d1:d400) into an expression like
sumproduct(a1:a400, reference to external datasource).
When I am done with this operation I will have between 3500 and 10,000
of the sumproduct functions, hence the reason to avoid brining all the
database information into Excel.
The sumproduct functions are used in a linear optimization (a1:a400
are dynamic or adjustable for the optimization nuts in the group), so
the cells have to be dynamically linked to the database with formulas
that excel recognizes (I cannot simply solve the problem using VBA to
populate the sumproduct cells in excel).
Any and all ideas are encouraged.
Thanks,
John