excel
45127 TopicsPut multiple values in one cell with lists and arrays in Excel
Throughout Excel's 40-year history, you've only been able to put one value per cell. In this announcement, we're excited to share how that's changing with the release of lists, arrays in cells, and nested arrays, initially to Microsoft Excel for Windows and Mac Beta Channels. Many workbooks already try to pack multiple values into one cell. A project might list "Carlos, Henrietta, Jacob" as three owners, or a Forms survey might return "2:00 PM; 2:30 PM; 3:00 PM" as one response. With lists, you can keep those values in one cell, while also keeping them separate for filtering, calculation and more. Later in this post, we'll explore arrays in cells and nested arrays in more depth. NOTE: These are preview features. Their behavior may change before general release based on your feedback. We don't recommend using them in important workbooks until they're generally available. Lists Lists let you put multiple values into one cell. You can create a list by selecting Insert > List or pressing Ctrl+J, then typing or pasting items separated by commas or semicolons, depending on your regional settings. Selecting the icon in the cell shows the individual values. You can add, remove, or edit list items by double-clicking the cell or pressing F2, just like other values. With lists, you can filter by one or more individual items instead of whole text entries. Referencing a list returns all its values for calculations. For example, =B2 spills those values into separate cells. Arrays in cells Lists are useful on their own, but they're part of a much broader change to Excel. For the first time in Excel, arrays can exist natively in cells as values or as formula results. They can be any size or shape and can even contain other arrays. You can now keep the result of any spilling formula in a single cell by "wrapping" the formula body with braces { }. Since the introduction of dynamic arrays, array results have spilled across cells – for example ={1;2;3}. Wrapping the original array with braces creates a 1x1 array around it, so instead of spilling to multiple cells, the array stays in a single cell. Braces have long been used to describe arrays in Excel and this extends that behavior by allowing multiple layers of braces. This gives you more flexibility when building spreadsheets. Instead of leaving room for a formula to spill, you can keep the result in one cell. Arrays inside arrays, or nested arrays Arrays can now also "nest" inside other arrays. For example: ={{1,2,3};{4,5,6}} Previously, a formula that produced an array of arrays would return a truncated result or #CALC! error. Now, supported formulas return the complete nested result. In the example below, you can see how TEXTSPLIT behaves with and without nested arrays. Without nested arrays, Excel only returns the first item for each row. With nested arrays, the result spills, one array per row. The arrays in each row can then be used in further calculations. Four new functions: FLATTEN, HAS, HASANY, HASALL To help you work with arrays more easily, we've added four functions. FLATTEN(array, [pad_value], [levels]) simplifies nested arrays by removing one or more levels of nesting. Continuing from the prior example, FLATTEN lets you simplify the nested array output, spilling the individual results into the grid. We used an empty string ("") for pad_value so rows with fewer items show blanks in the remaining columns. Three HAS functions check whether values are in an array: HAS(array, value) returns TRUE if value appears anywhere in array, and FALSE otherwise. HASANY(array, values) returns TRUE if any of the values appear anywhere in array, and FALSE otherwise. HASALL(array, values) returns TRUE if all of the values appear anywhere in array, and FALSE otherwise. Do more with spreadsheets using arrays in cells and nested arrays Arrays in cells open up spreadsheet designs that weren't practical before. The run tracker below captures split times (how long it takes to run each kilometer) in a table with one run per row. The number of splits depends on the length of the run. Stats for each run are calculated right in the same table. For more examples, I recommend looking to your favorite Excel communities on LinkedIn, YouTube, Reddit, or elsewhere. Enabling nested array calculations in a workbook Compatibility Version 3 will be released alongside arrays in cells and is required for most calculations involving nested arrays. You can set Compatibility Version for each workbook in by selecting Formula > Calculation Options. See compatibility versions for more information. Some existing formulas return different results in Compatibility Version 3. If your workbook doesn't behave as expected, you can keep it set to Compatibility Version 1 or 2. Known limitations As this feature rolls out to Beta Channel, the following limitations apply: Conditional formatting doesn't inspect array contents unless you use a formula Data validation can't use a list or array as dropdown items Charts don't expand an array into data points PivotTables don't read array values as source data Power Query doesn't load or emit array-valued columns Find & Replace can't replace list/array items Availability These improvements are rolling out to Beta Channel users running: Windows: Version 2610 (Build 20520.20000) or later Mac: Version 16.114 (Build 26092111) or later Features covered on this blog roll out over time to enable us to monitor quality and performance, so some preview features may not be available to you right away. Also note that features may be paused, adjusted, or removed as part of that process. Feedback Click Help > Feedback in Excel to tell us what you think.49KViews15likes71CommentsExcel Chart Copy/Paste Resolution
I create charts in Excel, paste them into Photoshop to add a transparent background, then paste these into my web site. I've been doing this since 1999. Until today, the charts always copy/pasted at 96 dpi. The work flow depended on this. These charts are all sized to fit in the right places. 4" by 5" gave 385 x 481 pixels. They looked good. Hotspots (img maps) on the web page lined up properly with chart elements. Today they paste at 150 dpi which is too large. 4"x5" becomes 601 x 751 px. Nothing lines up. Reducing the size in Photoshop gives ugly results. The File>Options>Advanced>Image Size and Quality Default Resolution cannot be changed to 96. It immediately reverts back to High Fidelity. So this idea does not work. I know that I can start all over, but that is a lot of work. How do I set the default chart resolution for copy/paste back to 96 dpi where it was for 27 years and where I need it to be? What did MS change to break this? Windows 11, Microsoft® Excel® for Microsoft 365 MSO (Version 2610 Build 16.0.20527.20150) 64-bitSolved48Views0likes4CommentsComplex numbers in Excel
Did you know that Excel can handle complex mathematical operations with complex numbers? Complex numbers, expressed as "a + bi," where 'a' and 'b' are real numbers and 'i' is the imaginary unit, can be powerful tools in various scenarios. Think engineering, physics, signal processing, or even financial modelling. Excel offers native support for complex numbers, and you can perform basic operations like addition, subtraction, multiplication, and division just as easily as with real numbers. If you haven't explored this yet, give it a shot! It's as simple as entering a formula like =IMSUM(A1:B1) or =IMPRODUCT(A1:B1) One nifty feature is the ability to convert complex numbers from rectangular to polar form and vice versa. This can be a game-changer in certain calculations, especially when dealing with phase angles or magnitude-based analyses. For this you can make use of the =IMABS(A1) and =IMARGUMENT() functions. As complex numbers are considered to be text within Excel you will need special functions to perform arithmetic with them, such as IMSUM, IMSUB, IMPRODUCT, and IMDIV. Excel can help you plot complex numbers on the complex plane using the XY Scatter chart! you will need the IMREAL and IMAGINARY functions to extract the real and imaginary coefficients from the complex number to use them to plot the numbers. This feature can be invaluable when dealing with complex data sets or analysing the behaviour of complex functions. If you're interested in learning more about complex numbers, I made a video covering all functions that work with complex numbers in Excel: https://www.youtube.com/watch?v=_A2DIUibkmk Have you worked with complex numbers before in Excel? What specific use case did you have? Were there any obstacles you had to overcome?25KViews2likes4CommentsConditional formulas based on which item is chosen in a drop-down menu
Hi, I have 6 different tests in a drop-down menu. Each test has different result requirements in multiple columns. I need to figure out how to make an "Acceptable" column with formulas that give a result of "Yes" if the results in the columns match the requirements for the test that is chosen, no if not. So say the requirments for Test A are >=0.08 in B, >=0.5 in C, <0.08 in D, and <0.008 in E. I would put the formula in F to say yes or no. I know I could do an IF formula but how do I connect the formula to the particular test? I would need a formula to say if Test A is selected for A12, then B12 must be >=0.08, C12 must be>0.5, D12 must be <0.08, and E12 must be <0.008. The requirements for Test B are >=0.09 in B, >=0.5 in C, <1 in D, and <0.2 in E. If they choose Test B in A12, then we need to make sure the requirements in corresponding cells (B12, C12, D12, E12) are being used to judge acceptability to say Yes or No in F12. Any help is much appreciated!Solved61Views0likes3CommentsHappy holidays: a tree drawn in Excel cells with one formula
Happy holidays, everyone. Here's a small seasonal workbook for anyone who likes conditional formatting: a tree drawn in cells that lights up row by row. How it works: every tree cell has the same formula. It returns 1 (lights off), 2 (green), or 3 and 4 (red and gold lights). Home > Conditional Formatting has one "Cell Value equal to" rule per number with a fill colour, and the cells use the custom number format ;;; so the digits stay hidden. I2 is the switch (Y or N) and I3 is a step from 0 to 24. Each step lights one more row from the top, the trunk comes on at 13 and the star at 14, and every step swaps the red and gold lights, so stepping through it looks like blinking. The formula in every tree cell: =IF(AND($I$2="Y",$I$3>=ROW()-4),IF(MOD((ROW()-4)*7+COLUMN()*3,5)=0,IF(MOD($I$3+ROW()+COLUMN(),2)=0,3,4),2),1) ROW()-4 is the tree row, so a row lights once the step reaches it. MOD((ROW()-4)*7+COLUMN()*3,5)=0 picks about one cell in five as a light, and MOD($I$3+ROW()+COLUMN(),2) flips each light between red and gold on every step. The workbook is attached, with no real data in it. I checked it in Google Sheets and another spreadsheet app rather than Excel itself, so let me know if anything looks off in your version. (Drafted with AI assistance and checked before posting.)94Views0likes0CommentsHow to change the columns a formula will get its data from
Here is a dummy example of what my spreadsheet looks like, the end date/time can be in different columns based on external factors. a b c d 1 Start date/time Other date/time End date/time Amount of time 2 January 1 2026 12:41:55 PM January 1 2026 12:50:00 PM 3 January 1 2026 3:30:50 PM January 2 2026 5:00:00 PM 4 January 2 2026 4:00:55 PM January 2 2026 10:00:00 PM 5 January 13 2026 12:30:00 PM January 13 2026 12:33:00 PM How do I calculate the difference in time in column D based when the end date and time may be in one of two columns? Before I would just subtract one column from another and then format the cells to create a readable output automatically, but I need a formula to take into account two columns and to choose the one that is not empty. I am unsure how to write the in then else in a way that Excel can understand. What I have tried: = IF c2 = " " THEN b2-a2 ELSE c2-a2141Views0likes7CommentsHow to Use Checkboxes and In-Cell Lists for Interactive Project Tracking in Excel (Microsoft 365)
If you are using Excel solely for basic data entry, you are missing out on modern interactive capabilities available in Microsoft 365. Two standout features—Checkboxes and In-Cell Lists—make it much simpler to build dynamic status dashboards, track completion rates, and manage categorical values directly within cells. Below is a breakdown of how to implement both features in real business scenarios. 1. Interactive Checkboxes & Task Trackers When managing a project template or task list, you can replace plain text inputs with functional checkboxes. - Inserting Checkboxes: Select the target range in your task table and insert a checkbox from the ribbon. - Creating a Dynamic Status Column: A checked box returns TRUE, while an unchecked box returns FALSE. You can leverage this directly using a standard IF statement (for example, in cell F3 referencing checkbox cell D3): =IF(D3, "Completed", "Pending") Copy this formula down using Ctrl + D. Toggling the checkbox will instantly flip the status between Completed and Pending. - Calculating Real-Time Completion Percentages: To display an overall completion rate across all tasks: 1. Add a summary cell at the top of your sheet. 2. Use COUNTIF alongside COUNTA: =COUNTIF(D3:D20, TRUE) / COUNTA(D3:D20) 3. Format the cell as Percentage (%). Whenever a task is checked off, your completion metric updates automatically, giving teams and stakeholders immediate visibility into project progress. 2. In-Cell Lists for Skill and Tag Management Instead of creating messy text strings or sprawling columns to capture multiple skills or tags per employee: - Select the relevant cell under your dataset. - Go to Insert > List. - Enter your values (such as Power BI, SQL, Python). - Hit Enter. Hovering over the cell reveals the clean, consolidated list directly in place, keeping your dataset structured and readable.179Views0likes1CommentOPENED FILE AND ALL CHARTS WERE MISSING
So, I have been using this spreadsheet since 2014 and have always upgraded it to stay current. I had a file in Jan 2024 that I added data to and saved. Last month (Apr), I opened the file to add new data as I always have, and all my charts were gone. I've searched and cannot fight how these charts were deleted. It was not me. I've looked for fixes and there is little to no similar issue to mine unless my search was weak. I'm looking for ideas, and while I am not a computer engineer, I know Excel and lots more. I already tried the options, checkmark solution. Thanks in advance charley4.4KViews0likes5CommentsExcel and word saving to invalid cloud location
There is a random account that belongs to my wife that keeps showing up randomly in my office 365. Supposedly last year it was "fixed", yet now suddenly it's showing up again when I create a new file in word. It says I need to sign in when I make it so I have to save a copy to my actual cloud to use it. This is driving me nuts, I need an actual solution, tried support and that was a joke. I'm on iPhone 15 pro max with iOS 27.243Views0likes3Comments