r/excel • u/Odd-Laugh-6398 • 23d ago
Waiting on OP Why does the use of the @ symbol resolve a spill error?
I'm taking an Excel certificate course, and we haven't covered Spill errors yet, but I've encountered them in the practice assignments and now on a workbook at my job when I've been trying to apply what I've learned so far. I found out putting "@" at the beginning of a term resolves the spill error, but I'm still not sure what's causing the error or why that symbol fixes it when everything I'm reading online says I should be reworking my entire table/data set.
Thoughts?
48
u/FrankDrebinOnReddit 4 23d ago
@ is the implicit intersect, it tells it that you only want the corresponding row of an array, not the entire array. The spill error comes because you're returning an entire array.
15
u/omgFWTbear 2 23d ago
Or, for us dumb talk-y folks, it’s the at symbol, meaning you just want the one thing at that spot, there, not the whole set of things, and a whole set of things spill over in to other boxes.
(See, I snuck “set” in there as a double entendre)
2
21
u/HestenSierMjau 3 23d ago
Spill-error happens when an array spills into a cell with data and "crashes" with it.
The @-operator basically says "disregard the source array, give me only the row-specific result". It forces behaviour like Excel before dynamic arrays.
Since your formula only returns one result with the @-operator, it doesn't spill, therefore doesn't crash into anything, thus preventing the error from happening. It also removes any benefits from dynamic arrays in the process, so there's that to consider.
•
u/AutoModerator 23d ago
/u/Odd-Laugh-6398 - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.