B
Biff Canlett
Is there any way to use SQL directly inside Excel to return a value from a
table to a cell, both in the same worksheet, without using ODBC?
I seem to remember being able to do this in 123.
I would prefer to do this by entering the SQL into a cell, but a VBA
function would work also.
Any help would be appreciated. I'm a mainframe guy, a little lost in Excel
trying to help my daughter.
In case you wonder why: I want to look up a value in a table that is 3 cols
by 30,000 rows. I need to match two columns and return the third. I tried
to convert the table to two dimensions with the pivot table wizard, but
although it seemed to work, it discarded many chunks of data. I know SQL a
lot better than I know Excel's lookup functions. This needs to run on a
version of Excel without the ODBC add in, and no authority to ad it in.
table to a cell, both in the same worksheet, without using ODBC?
I seem to remember being able to do this in 123.
I would prefer to do this by entering the SQL into a cell, but a VBA
function would work also.
Any help would be appreciated. I'm a mainframe guy, a little lost in Excel
trying to help my daughter.
In case you wonder why: I want to look up a value in a table that is 3 cols
by 30,000 rows. I need to match two columns and return the third. I tried
to convert the table to two dimensions with the pivot table wizard, but
although it seemed to work, it discarded many chunks of data. I know SQL a
lot better than I know Excel's lookup functions. This needs to run on a
version of Excel without the ODBC add in, and no authority to ad it in.