office 365
6382 TopicsUtilizing Excel's turing capabilities to create Conway's 'Game of Life'
The Background It's been said with Lambda (and LET and a wealth of functions in 365) Excel has become 'turing-complete'. To quote the article linked below: "You can now, in principle, write any computation in the Excel formula language." https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ The Challenge I thought it would be fun to create Conway's 'Game of Life' in Excel 365 to see how far I could push things. Conway's Game of Life - Wikipedia The rules are simple: A 'cell' has up to 8 adjacent cells (less if the cell is on the edge of the board). A 'neighbor' is a cell with a 1 while a 'dead' cell is empty. An 18x18 board Multiple iterations Bigger boards! more (it's relaxing to create new shapes and designs) The Approach My first thought was to use MAKEARRAY because I could use 'r' and 'c' coordinates and there would be no stacking. I devised a recursive function that worked for 1 iteration but failed on subsequent iterations because the use of TAKE/DROP was slowly shrinking the board! The revised approach is essentialy a recursive MAP that uses 3 arrays: the input matrix, the 'r' array (row numbers) and the 'c' array (column numbers). It's my way of using r/c without using MAKEARRAY. For Discussion I welcome any improvements to the existing function and any different approaches someone may have to creating Conway's Game of Life. Conway Lambda follows: Conway =LAMBDA(matrix, iterations, IF( iterations = 0, matrix, Conway( LET( height, ROWS(matrix), width, COLUMNS(matrix), r_arr, SEQUENCE(height) * SEQUENCE(, width, 1, 0), c_arr, SEQUENCE(height, , 1, 0) * SEQUENCE(, width), CheckNeighbors, LAMBDA(lattice, r, c, LET( RCx, LAMBDA(row, col, IFERROR(CHOOSECOLS(CHOOSEROWS(matrix, row), col), 0) ), N, RCx(r - 1, c), NE, RCx(r - 1, c + 1), E, RCx(r, c + 1), SE, RCx(r + 1, c + 1), S, RCx(r + 1, c), SW, RCx(r + 1, c - 1), W, RCx(r, c - 1), NW, RCx(r - 1, c - 1), compass, VSTACK(N, NE, E, SE, S, SW, W, NW), neighbors, SUM(compass), IF( AND(lattice = 0, neighbors = 3), 1, IF( AND(lattice = 1, OR(neighbors = 2, neighbors = 3)), 1, 0 ) ) ) ), MAP(matrix, r_arr, c_arr, CheckNeighbors) ), iterations - 1 ) ) )4.3KViews3likes30CommentsNot Being Able to Uninstall/ Remove Claude plugin for Excel
As you can see, I have this Claude plugin (appears twice for some reason) installed in Excel with no option to remove it. I was with online support and they could not help me. I am using a personal account and no organizational account. This is my personal Office365 subscription.122Views0likes1CommentNumber of days + or -
I am trying to get the difference in the number of days between two dates and it works if the target completion date is before the completion date using this formula: =DATEDIF(H3,J3,"d"). I do get the correct number of days using this formula, however, I would ideally like is a plus or minus in front of that number (e.g., + if the project went past the target date, and - if the project was completed sooner). I can apply conditional formatting to the rows after to change the color of the number if I get that far. When the completion date is before the target completion date (e.g., completed project early), I get the #NUM! error, which I expected. But I cannot find a way to get exactly what I am looking for. Hopefully I am explaining this clearly. The formula in L4: =DATEDIF(H4,J4,"d")990Views0likes4CommentsExcel 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-bitSolved230Views0likes4CommentsComplex 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?26KViews2likes4CommentsHow 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-a2424Views0likes7CommentsHow 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.212Views0likes1CommentCombining IFS formulas
Hi, I'm trying to make a formula to say "yes" if certain conditions are right for two columns but I'm unsure how to make the formula. I usually use IF, but the G column cell is acceptable if the result is >=0.5 OR 1+,2+,3+, or 4+ based on if it went on an instrument or was manually read. The H column cell is acceptable if the result is <0.080 or "clear". I need the I column cell to say yes if both the G and H column cells are acceptable. I also don't want anything to show up in the I column cell if the other two cells are blank. I tried using IFS but couldn't get it to work right because I had separate IFS for each column and couldn't figure out how to combine them. I've attached an example of the worksheet I'm using. Ignore that the cells say 24, I was playing further down in the worksheet. Any help is appreciated. Thanks!Solved401Views0likes3CommentsExcel 365 removes VBA projects (vbaProject.bin) from all .xlsm files on Windows 11
Hello Microsoft Tech Community, We are the technical support team at NEODIMO, a company that develops Excel-based financial management solutions using VBA. We are investigating an unusual issue affecting one of our customers using Microsoft Excel 365 on Windows 11. Problem description: Whenever the customer opens a macro-enabled Excel workbook (.xlsm), Excel displays the following error: "We found a problem with some content..." When attempting to recover the workbook, Excel removes the entire VBA project. The repair log reports: Removed Part: /xl/vbaProject.bin (Visual Basic for Applications - VBA) Troubleshooting already performed: The same workbooks open and function correctly on other computers. The issue persists when Excel is launched in Safe Mode (excel /safe). Even newly created .xlsm files containing simple VBA macros are affected. The VBA Editor opens normally using Alt + F11. Files have been downloaded again, including through Google Drive, without resolving the issue. Excel Trust Center and File Block settings have been reviewed. The customer reports using only Microsoft Defender. Standard .xlsx files work normally. Additional observation: Excel has also displayed a warning indicating that macro-enabled workbooks are blocked by Trust Center settings. Reviewing these settings has not resolved the issue. Environment: Windows 11 Microsoft 365 Apps for Enterprise Excel version/build: Pending confirmation Office architecture: Pending confirmation File storage location: Pending confirmation Security software: Microsoft Defender Questions for the community: What could cause Excel to remove xl/vbaProject.bin from every macro-enabled workbook on a single computer? Could a Trust Center policy, Microsoft Defender security rule, or Office installation component cause this behavior? Are there specific logs, diagnostic tools, or repair procedures we should investigate? Has anyone experienced and successfully resolved a similar issue? We have already contacted Microsoft Support, which recommended bringing this case to the Excel technical community. Our priority is to resolve the underlying issue without disabling important security protections or compromising the customer's files. Any technical guidance would be greatly appreciated. Thank you! NEODIMO Technical Support518Views2likes2Comments