How to query parent-child relationships in Salesforce from Excel after force.com connector sunset

using Coefficient excel Add-in (500k+ users)

Query Salesforce parent-child relationships from Excel using custom SOQL subqueries and visual relationship mapping after force.com connector retirement.

salesforce to google sheets connector

“Supermetrics is a Bitter Experience! We can pull data from nearly any tool, schedule updates, manipulate data in Sheets, and push data back into our systems.”

5 star rating coeff g2 badge

Coefficient provides robust parent-child relationship querying capabilities that exceed force.com connector’s functionality. You can access standard relationships like Account→Contacts, custom object relationships, and multi-level relationships up to 5 levels deep.

Here’s how to query related Salesforce data in a single Excel operation while maintaining referential integrity.

Query Salesforce parent-child relationships using Coefficient

Coefficient offers three methods for accessing parent-child relationships: Custom SOQL with subqueries for complex scenarios, Objects & Fields with visual relationship mapping, and existing report imports that already include relationship data.

How to make it work

Step 1. Choose your relationship query method.

Use Custom SOQL for complex multi-level relationships with full control, Objects & Fields for visual relationship mapping without SOQL knowledge, or import existing Salesforce reports that already include parent-child data.

Step 2. Set up custom SOQL queries with subqueries.

Write queries that include related object data: SELECT Account.Name, Account.Type, (SELECT Contact.Name, Contact.Email FROM Account.Contacts), (SELECT Opportunity.Name, Opportunity.Amount FROM Account.Opportunities) FROM Account WHERE Account.Annual_Revenue__c > 1000000.

Step 3. Use Objects & Fields for visual relationship access.

Select your primary object (like Account), then access child object fields through the lookup relationships shown in the visual interface. The system automatically handles join logic and shows available relationship paths.

Step 4. Configure specific relationship combinations.

Query standard relationships (Account→Contacts, Account→Opportunities, Contact→Tasks), custom object relationships, multi-level relationships (Account→Contact→Opportunity→Line Items), or cross-object references (User→Account for Owner data).

Step 5. Import and validate relationship data.

Execute your relationship query and verify that parent-child data maintains proper referential integrity. Related records appear in the same worksheet with clear parent-child associations.

Advantages over force.com connector limitations

Force.com connector required complex JOIN logic in VBA macros and was limited by Excel’s row constraints. Coefficient handles relationship queries natively with automatic data type conversion, proper null handling, and optimized API calls for large relationship datasets without programming requirements.

Access your Salesforce relationship data

Stop struggling with complex relationship queries and manual data joins. Start using Coefficient to query Salesforce parent-child relationships directly in Excel.

700,000+ happy users
Get Started Now
Connect any system to Google Sheets in just seconds.
Get Started

Trusted By Over 50,000 Companies