implicit intersection operator

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Implicit intersection operator: @

Implicit intersection operator: @

resolvedResolved · Medium Priority · Version 365

Matthew has attended:
Excel Advanced course
Excel Intermediate course

Implicit intersection operator: @

Morning.
I have been exploring examining spreadsheets using the 'Implicit intersection operator: @'. I have been asking questions like this. In the current sheet find each of the values in the column named 'Employer' then in a separate sheet look in the column named 'Employer' and on that row return the value of 'Salary'. I have been using XLOOKUP. Could you give some advice on the use of the 'Implicit intersection operator: @' and maybe some simple examples?

RE: Implicit intersection operator: @

Hi Matthew,

Thank you for the forum question.

The implicit intersection operator (@) in Excel is quite useful, especially when working with dynamic arrays. It helps ensure that a formula returns a single value rather than a range or array. Here’s a brief overview and some examples to help you understand its use:

What is the Implicit Intersection Operator (@)?
The implicit intersection operator reduces multiple values to a single value. This is particularly useful in dynamic array Excel, where formulas can return multiple values that "spill" into adjacent cells. The @ operator ensures that only one value is returned, similar to how Excel handled arrays before dynamic arrays were introduced.

Basic Examples
Simple Range Reference:

Without @: =A1:A10 returns a range of values.
With @: =@A1:A10 returns the value from the cell in the same row as the formula.
Using Functions:

INDEX Function:
Without @: =INDEX(A1:A10, B1) could return an array if B1 is a range.
With @: =@INDEX(A1:A10, B1) ensures a single value is returned.
OFFSET Function:
Without @: =OFFSET(A1, 1, 1) could return a range.
With @: =@OFFSET(A1, 1, 1) ensures a single value is returned.
Applying @ in Your Scenario
For your specific task, you can use the @ operator to ensure that the XLOOKUP function returns a single value. Here’s how you might structure your formula:

= XLOOKUP(@A2, Sheet2!Employer, Sheet2!Salary)
In this example:

@A2 ensures that the lookup value is treated as a single value.
Sheet2!Employer is the range where you are looking up the 'Employer'.
Sheet2!Salary is the range from which you want to return the 'Salary'.
Why Use @?
Using the @ operator can help avoid unexpected results when working with dynamic arrays, ensuring that your formulas behave consistently, especially when opening workbooks in different versions of Excel.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector


 

Excel tip:

Counting Non Number Cells (Text)

If you try to use the COUNT FUNCTION =COUNT(Cell range)with a range of cells with numbers and or containing text fields you wil find that that the text cells will be excluded from the the count. If you want to include them try the the COUNTA FUNCTION =COUNTA(Cell range). This counts both text and number cell values.

View all Excel hints and tips


Server loaded in 0.11 secs.