Use an ODBC Connection in Excel for Windows and Mac
Question details
The user wants to connect Excel on Windows and Mac to the same database using ODBC.

- Product
- Microsoft Excel for Windows and Mac
- Device & OS
- Windows and macOS
- Scenario
- Access the same database from Excel on both operating systems using an ODBC connection.
- Observed behavior
- Excel for Mac may require a third-party ODBC driver and may not offer the same connection capabilities as Excel for Windows.
Identify the database type, server or file location, credentials, and Excel version on each computer. Check that an ODBC driver is available for each operating system and compatible with the installed Excel architecture.
Configure a compatible ODBC connection on each system
Use this approach to connect both Excel installations to the same data source with separate, platform-specific drivers and DSNs.
A Windows ODBC driver or DSN does not automatically work on macOS. Use drivers for the same database on both systems, and check the driver vendor's documentation for supported Excel and OS versions.
Download and install a macOS ODBC driver for your data source from a compatible vendor, such as Actual Technologies or OpenLink. Confirm that it supports your database and Mac architecture.
Open an ODBC manager supported by the driver, add a data source name (DSN), and enter the server or file location and authentication details. Use the driver's test option if available.
In Excel, open the Data tab and look for an available database or ODBC import option. Select the configured DSN and follow the prompts; the exact options depend on your Excel version and driver.
On Windows, install the matching database driver and open ODBC Data Sources to create a DSN with the same database details. Choose the administrator that matches your Excel installation's 32-bit or 64-bit architecture.
In Excel for Windows, select Data > Get Data > From Other Sources > From ODBC, choose the Windows DSN, and follow the prompts to load the data.

Run Excel for Windows in a virtual machine on the Mac
Use a Windows virtual machine when the required Windows driver or Excel import workflow is unavailable on macOS.
Work with exported database data in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for easier migration. Use WPS Spreadsheets to work with exported data; it does not resolve Excel's ODBC driver requirements.

Frequently Asked Questions
Can I copy my Windows ODBC DSN directly to a Mac?
A Windows DSN and driver are not directly usable on macOS. Install a compatible Mac driver and create a separate DSN in a supported macOS ODBC manager, using the same database connection details where applicable.
Does Excel for Mac include an ODBC driver for my database?
Excel for Mac may require a compatible third-party driver. Check Microsoft's Mac database-import guidance and the driver's documentation for support for your database, Excel version, and Mac architecture.
Where is the ODBC import option in Excel for Windows?
In supported versions of Excel for Windows, select Data > Get Data > From Other Sources > From ODBC, then choose the configured DSN.
Can I update database records by editing an imported Excel table?
Not necessarily. ODBC imports may be read-only, and editing cells does not automatically write changes back to the database. Check the database application and driver documentation for supported update methods.




