#SPILL! error - Extends beyond the worksheet's edge

The spilled array formula you're attempting to enter will extend beyond the worksheet's range. Try again with a smaller range or array.

In the following example, moving the formula to cell F1 will resolve the error, and the formula will spill correctly.

#SPILL! error - The formula =SORT(D:D) extends beyond the worksheet's edge. Move it to cell F1 to correct the problem.

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

See Also

FILTER function

RANDARRAY function

SEQUENCE function

SINGLE function

SORT function

SORTBY function

UNIQUE function

#SPILL! errors in Excel

Dynamic arrays and spilled array behavior

Expand your Office skills
Explore training
Got It
Get instant Excel help
Connect to an expert now
Subject to Got It terms and conditions

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.