Excel Add-In for MongoDB

Build 24.0.9060

Getting Started

Connecting to MongoDB

Establishing a Connection shows how to authenticate to MongoDB and configure any necessary connection properties. You can create a connection profile by clicking Get Data and selecting From MongoDB on the CData ribbon.

Advanced Configurations

You can also configure add-in capabilities through the available Connection properties, from data modeling to firewall traversal. The Advanced Settings section shows how to set up more advanced add-in configurations and troubleshoot connection errors.

Configuring a Connection Profile

You can configure access control in a connection profile by defining the operations allowed against MongoDB data and store the profile in the workbook to make the workbook easy to share. See Managing Connections for more configuration options for connection profiles.

Connecting from Excel

The add-in adds controls to the Excel ribbon, standard Excel formulas, and VBA classes for writing macros.

MongoDB Version Support

The add-in models MongoDB instances as relational databases and supports MongoDB versions 2.6 through 7.0. The add-in leverages the MongoDB API, including the MongoDB aggregation framework, to enable bidirectional SQL access to MongoDB data. See the NoSQL Database chapter for SQL-to-MongoDB query mappings and more information about accessing unstructured data in MongoDB through SQL. See the DBaaS Connections page to connect to popular services such as Atlas and ObjectRocket.

See Also

  • See Using the Excel Add-In to work with MongoDB data from the CData ribbon.
  • By Writing Parameterized Queries in the From MongoDB dialog, you can easily create a dynamic spreadsheet based on an underlying SQL SELECT query. Cell values provide the query's input parameters.
  • Use the CData Excel Functions to execute multiple queries from the same sheet or to use cells and ranges to manipulate MongoDB data.
  • See Using the Excel Add-In (VBA) to write macros that can automate any of the capabilities available on the ribbon.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060