Ranges in Excel are collections of values located in specific cells on a worksheet. They are referenced using cell addresses, such as C3 or C1. Arrays, on the other hand, are lists of data stored in memory by Excel. Ranges exist on the worksheet itself, while arrays are stored in memory and can be passed between functions without writing intermediate results back to the worksheet. Understanding these differences is crucial for avoiding common errors and enhancing your Excel skills. For example, the UNIQUE function creates an in-memory array that COUNT evaluates, while a spilled range is automatically created when a dynamic array formula returns multiple values. Arrays can be created directly within formulas using curly braces, and modern functions like FILTER, UNIQUE, SORT, and LET can pass arrays directly between functions without storing intermediate results on the worksheet. This makes complex formulas more efficient and reduces the risk of errors such as #VALUE!

Modern Excel finally made sense to me after I learned how arrays and ranges are different

Comments