Microsoft Tests Excel Cells That Hold Lists and Arrays of Values

An opt-in Excel Beta Channel preview lets one cell hold a list or an array, with new functions such as FLATTEN and HAS. Microsoft hasn't set a date for general availability.
Microsoft Tests Excel Cells That Hold Lists and Arrays of Values
Microsoft Tests Excel Cells That Hold Lists and Arrays of Values

Microsoft is testing a way for a single Excel cell to hold several values at once. The preview, announced Thursday, adds lists, arrays in cells and nested arrays, and it is opt-in for Microsoft 365 Insiders on the Excel Beta Channel for Windows and Mac.

“One of the oldest rules of spreadsheets: one cell, one value,” Jake Armstrong, a product manager on the Excel team, wrote on LinkedIn. “No longer!” The Register described it as the end of 40 years of single occupancy for Excel cells.

Lists are the simplest piece. Users create one with Insert > List or Ctrl+J, then type or paste items separated by commas or semicolons depending on regional settings, according to Microsoft’s announcement. An icon in the cell shows the individual values, and filters can pick out single items instead of treating the whole cell as one block of text.

Microsoft’s example is a project tracker where each project has several owners. “Traditionally, you’d need separate columns, helper tables, or text like ‘Carlos, Henrietta, Jacob’ packed into a single cell,” the Excel team wrote.

Two Excel filter menus comparing comma-separated text entries with list items that can be filtered individually
Filtering comma-separated text (left) versus filtering a list (right). Image: Microsoft

Arrays in cells go further. A formula that would normally spill its results across a range can keep the whole array in one cell if the formula body is wrapped in braces. Arrays can also contain other arrays, so supported formulas that used to return a truncated result or a #CALC! error can now return the full nested result, Neowin reported.

Four new functions come with the preview. FLATTEN removes one or more levels of nesting, HAS checks whether a value appears in an array, and HASANY and HASALL check for any or all of a set of values.

The preview has limits, and Microsoft lists them. PivotTables don’t read array values as source data, Power Query doesn’t load array-valued columns, charts don’t expand an array into data points, and data validation can’t use a list as dropdown items. Most nested-array calculations also need a new workbook setting, Compatibility Version 3, which can change the results of existing formulas.

Some commenters on Armstrong’s post worried the change could break things and make business logic harder to audit, The Register reported. Libraries such as openpyxl and pandas that expect a cell to hold a single string, number, boolean or date may need updates, and Microsoft hasn’t yet published how the new types will be stored in .xlsx files.

The rollout to Beta Channel users is gradual and needs Version 2610 (Build 20520.20000) or later on Windows, or Version 16.114 (Build 26092111) or later on Mac. Microsoft says the features could change before general availability, which it hasn’t dated, and advises against relying on them in important workbooks for now.

Subscribe for Updates

InsideOffice Newsletter

News for small business owners/managers, office managers, entrepreneurs & decision makers.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us