How to run a SQL Query on an Excel Spreadsheet
April 7, 2006 11:26 AM
Subscribe
I have an Excel Spreadsheet (using Excel 2003). Rather than creating formulas to answer ad hoc questions that I have, I would like to be able to quickly type in a SQL querty against the data in the spreadsheet. So, I could scroll down to the bottom of the sheet to see how many rows I have, OR I could type" select count(*) from data_table" instead. I prefer the latter. Any suggestions?
I know I could write a VB/VBA program to connect to the spreadsheet using ADO etc... I would like to avoid that. I would prefer to download a free or inexpensive add-on for Excel or write a simple macro that will prompt me for the SQL?
Any clues? TIA...
posted by apark to computers & internet (6 comments total)
posted by zachlipton at 11:51 AM on April 7, 2006