Table of Contents

Union and Intersect

This example illustrates how to use the union and intersect operators in Excel (borders below for illustration only).

1. The union operator (comma) adds two ranges.

Union Operator in Excel

Explanation: the SUM function reduces to =SUM(C4:D8) + SUM(D7:E11) 20.

2. The intersect operator (single space) returns the intersection of two ranges.

Intersect Operator in Excel

Explanation: the SUM function reduces to =SUM(D7:D8) 2.

Let’s look at a few cool examples.

3. Excel automatically adds union operators (commas). For example type =SUM( and hold down CTRL to select the ranges below.

Multiple Union Operators

Note: press Enter to insert this function. Excel adds the closing parenthesis for you.

4. You can use the intersect operator (space) to return the intersection of two named ranges.

Intersection of Named Ranges

Note: the named range Feb refers to the range B3:D3 and the named range Chocolate refers to the range B2:B13.

Leave A Comment

Excel meets AI – Boost your productivity like never before!

At Formulas HQ, we’ve harnessed the brilliance of AI to turbocharge your Spreadsheet mastery. Say goodbye to the days of grappling with complex formulas, VBA code, and scripts. We’re here to make your work smarter, not harder.

Related Articles

The Latest on Formulas HQ Blog