Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Exploring Microsoft Excel's Hidden Treasures

You're reading from   Exploring Microsoft Excel's Hidden Treasures Turbocharge your Excel proficiency with expert tips, automation techniques, and overlooked features

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803243948
Length 444 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
David Ringstrom David Ringstrom
Author Profile Icon David Ringstrom
David Ringstrom
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Improving Accessibility
2. Chapter 1: Implementing Accessibility FREE CHAPTER 3. Chapter 2: Disaster Recovery and File-Related Prompts 4. Chapter 3: Quick Access Toolbar Treasures 5. Chapter 4: Conditional Formatting 6. Part 2:Spreadsheet Interactivity and Automation
7. Chapter 5: Data Validation and Form Controls 8. Chapter 6: What-If Analysis 9. Chapter 7: Automating Tasks with the Table Feature 10. Chapter 8: Custom Views 11. Chapter 9: Excel Quirks and Nuances 12. Part 3: Data Analysis
13. Chapter 10: Lookup and Dynamic Array Functions 14. Chapter 11: Names, LET, and LAMBDA 15. Chapter 12: Power Query 16. Index 17. Other Books You May Enjoy

Connecting to databases and installing ODBC drivers

You’ll notice that this book doesn’t have anywhere near 1,000 pages, which means there’s simply not enough space to dive very deep into the topic of connecting to databases and installing ODBC drivers. With that said, the examples in this chapter were chosen to give you exposure to using Power Query with a variety of data sources. As you’ll see, connecting to a database typically only involves a couple of steps, depending on the platform that you’re connecting to.

Establishing an Access database and SQL Server connections

Let’s start by linking to an Access database in Excel for Windows (you cannot connect to Access databases in Excel for macOS):

  1. Press Ctrl + N to create a blank workbook (or choose File | New and choose Blank Workbook).
  2. Choose Data | Get Data | From Database | From Microsoft Access Database, select the Chapter 12 – Fruit Sales.accdb database from...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime