# Connect to & query an excel file

**URL:** <https://forum.kirupa.com/t/connect-to-query-an-excel-file/234343>\
**Category:** Uncategorized\
**Created:** [August 1, 2007, 2:35pm UTC](https://forum.kirupa.com/t/connect-to-query-an-excel-file/234343 "2007-08-01T14:35:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanwright](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ivanwright/32/119_2.png) [@ivanwright](https://forum.kirupa.com/u/ivanwright)\
**Post date:** [August 1, 2007, 2:35pm UTC](https://forum.kirupa.com/t/connect-to-query-an-excel-file/234343/1 "2007-08-01T14:35:06Z")

</div>

i need to know if there’s a way to connect to & query an excel file as if it were an sql (or any other) database.

connection to the original database is not an option. an exported excel file is all we have access to. would a .csv file be easier to work with?

if you can’t connect & query excel, is there a way to easily transfer or convert it (or .csv) to a database?
