Excel CHOOSECOLS Function: Extract and Reorder Columns with One Spill Formula
The CHOOSECOLS function returns exactly the columns specified from any range or spilled array and delivers them as a single dynamic spill. It’s the clean, modern way to curate fields for reports, dashboards, and exports without helper columns or complex INDEX logic. The syntax is =CHOOSECOLS(array, col_num1, [col_num2], …). The array can be a range, a spilled result from another function, or even an inline array. Each col_num is a column index relative to the left of the array, and the output keeps all rows while returning only the requested columns, in the order provided. Microsoft’s reference highlights that out‑of‑range indices return #VALUE and that the result always spills into as many columns as requested. Availability is Microsoft 365 for Windows/Mac and Excel for the web.