├── README.md ├── SQL_In_Excel.xlsx └── demo.png /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Run SQL queries in EXCEL 3 | Did you know that you can use an SQL formula in Excel? Learn in this video how to run SQL queries in Excel. You don't have to be a programmer to be able to get the most out of SQL. In this video, you'll learn how to add the SQL formula to your Excel application. In particular, we will use the Python package xlwings and the xlwings Excel add-in. After setting everything up, I will walk you through some practical examples and share my tips and tricks for using SQL in Excel.. 4 | 5 | ## Video Tutorial 6 | [![YouTube Video](https://img.youtube.com/vi/pXbvHdWRlJM/0.jpg)](https://youtu.be/pXbvHdWRlJM) 7 | 8 | ## Demo 9 | ![Demo](/demo.png?raw=true "Demo") 10 | 11 | ## Requirements 12 | Install the dependencies with pip 13 | ```console 14 | pip install xlwings 15 | ``` 16 | Install the xlwings Excel add-in 17 | ```console 18 | xlwings addin install 19 | ``` 20 | 21 | 22 | 23 | ## 🤓 Check Out My Excel Add-ins 24 | I've developed some handy Excel add-ins that you might find useful: 25 | 26 | - 📊 **[Dashboard Add-in](https://pythonandvba.com/grafly)**: Easily create interactive and visually appealing dashboards. 27 | - 🎨 **[Cartoon Charts Add-In](https://pythonandvba.com/cuteplots)**: Create engaging and fun cartoon-style charts. 28 | - 🤪 **[Emoji Add-in](https://pythonandvba.com/emojify)**: Add a touch of fun to your spreadsheets with emojis. 29 | - 🛠️ **[MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt)**: A versatile toolbelt for Excel, featuring: 30 | - Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges 31 | - ChatGPT integration for advanced data analysis 32 | - And much more! 33 | 34 | 35 | 36 | ## 🤝 Connect with Me 37 | - 📺 **YouTube:** [CodingIsFun](https://youtube.com/c/CodingIsFun) 38 | - 🌐 **Website:** [PythonAndVBA](https://pythonandvba.com) 39 | - 💬 **Discord:** [Join our Community](https://pythonandvba.com/discord) 40 | - 💼 **LinkedIn:** [Connect with me](https://www.linkedin.com/in/sven-bosau/) 41 | - 📸 **Instagram:** [Follow me](https://www.instagram.com/codingisfun_official/) 42 | 43 | ## Support My Work 44 | Love my content and want to show appreciation? Why not [buy me a coffee](https://pythonandvba.com/coffee-donation) to fuel my creative engine? Your support means the world to me! 😊 45 | 46 | [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://pythonandvba.com/coffee-donation) 47 | 48 | ## Feedback 49 | Got some thoughts or suggestions? Don't hesitate to reach out to me at contact@pythonandvba.com. I'd love to hear from you! 💡 50 | ![Logo](https://www.pythonandvba.com/banner-img) 51 | -------------------------------------------------------------------------------- /SQL_In_Excel.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/run-sql-queries-in-excel/cb37db2d8826f92273cc11b2411103209eb21846/SQL_In_Excel.xlsx -------------------------------------------------------------------------------- /demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/run-sql-queries-in-excel/cb37db2d8826f92273cc11b2411103209eb21846/demo.png --------------------------------------------------------------------------------