Forum Widgets
Latest Discussions
The EXCEL worksheet disappears
MACBOOK . Hi guys, when I was using excel today, because there were a lot of worksheets, I moved one of the worksheets out, thinking it was going to be a separate one, and the worksheet disappeared, and the back key didn't work. I was wondering how anyone could find the worksheet before it disappeared.sunjiayuanApr 11, 2025Copper Contributor14Views0likes1CommentExtract image from http response and save it to local folder
Below excel macro code triggers provider to generate an image in .png format: Sub GetImg () Dim MyRequest As Object Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1") MyRequest.Open "GET", _ "https://<provider addr>?text=<instruction for image>" ' Send Request. MyRequest.Send 'And we get this response with the .png image MsgBox MyRequest.ResponseText End Sub The image is there, content type is image/png. How can I extract it from the body and save the image to a local folder e.g. to the same folder where the .xlsm excel file is.x315307Apr 11, 2025Copper Contributor25Views0likes1CommentAutomatically record the value of one cell into a different cell each day
Each day I record the current value of my shares into cell B2 on Sheet1. Below, in B5, C5 etc I have all future dates for the next few years in 1 row. In cell C2 I have todays' date (=TODAY()). How can I automate excel to record the last value of cell B2 every day into a different cell under the dates. So far I've got =IF(B5=$C$2,$B$2,""). So, if false, I want to keep the last value of B2. Essentially a basic database that I can use to create an ongoing graph.alexgibson01Apr 11, 2025Occasional Reader20Views0likes1CommentAutomate value selection
Hi all, I have created the table seen below in figure 1 and would like to automate the procedure of creating table 2. Where the maximum forward force at each of the reference speeds is being used. Any help would be appreciated!Brad_C43Apr 10, 2025Copper Contributor79Views0likes3CommentsUtilizing 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 ) ) )Patrick2788Apr 10, 2025Silver Contributor1.9KViews2likes15CommentsNeed help with excel formula to convert groups of letters to numbers.
I need to be able to convert groups of letters to numbers. F = 1 R = 2 E = 3 D = 4 A = 5 J = 6 V = 7 O = 8 N = 9 ie FDAJ = 1456 VJAR = 7652 Any help would be greatly appreciatedlindagrimm8251Apr 10, 2025Copper Contributor34Views0likes2CommentsFormula Help
Hello Everyone, I have attached a sample of my workbook and here is what I am trying to accomplish. I have a Tab called ALL! (yes I know, will change it some day) that houses names and information about individuals living in dorm rooms I manage. Based on the headers on the ALL sheet I'm sure the Headers will speak for themselves to the data I have on record for individuals residing in the rooms. The main thing here however is that I am trying to Group Data based on [Occ Status] shown in the [Occ Status] column on the ALL sheet. I am wanting to have REAL TIME grouping. So if a change is made to the [Occ Status], on the ALL sheet, it will affect the group, add to or take away from, the group showing on the Vacant Rooms sheet. The Occ Statuses can be seen on the Lists sheet. As part of this grouping, I am also trying to have 2 spaces between each group with a group count of records showing within the Occ Status. In Name Manager, I have a named range called StatusList. On the Vacant Room sheet in cell A3 I have a formula that that returns #CALC! and I cannot figure out where the issue lies. =LET( headers, {"BLDG","WING","ROOM","NAME","GNDR","MAIN A/C","WINDOW A/C","PORTABLE","OCC STATUS"}, bldg, ALL!A3:A170, wing, ALL!B3:B170, room, ALL!C3:C170, name, ALL!D3:D170, gndr, ALL!H3:H170, mainAC, ALL!N3:N170, windowAC, ALL!O3:O170, portable, ALL!P3:P170, occStatus, ALL!T3:T170, data, CHOOSE({1,2,3,4,5,6,7,8,9}, bldg, wing, room, name, gndr, mainAC, windowAC, portable, occStatus ), blankRow, HSTACK("", "", "", "", "", "", "", "", ""), blankBlock, VSTACK(blankRow, blankRow), sectioned, MAP( StatusList, LAMBDA(s, LET( labelRow, HSTACK("Occ Status: " & s, "", "", "", "", "", "", "", ""), filtered, FILTER(data, occStatus = s, SEQUENCE(0)), IF(ROWS(filtered) > 0, VSTACK(labelRow, filtered, blankBlock), SEQUENCE(0) ) ) ) ), VSTACK(headers, sectioned) ) I used CHATGPT for the above formula but doing so is just not getting me the result I need. Can anyone help me out here. I am using MS 365, Version 2501, Build: 18429.20200 Thank you for all offers of support. CarlSolvedCarl_61Apr 10, 2025Iron Contributor157Views0likes17CommentsDate_in_VBA
Is there a way I can save date so that the date does not come across a number. I have =today() which gives me the days date. For example, if I save 4/9/2025. The document returns with "nameofdocument"45766. I want it to save the document as "nameofdocument"4/9/2025(the actual date the document is created. Is this possible?DnGrApr 10, 2025Copper Contributor15Views0likes1CommentExcel cursor not changing; fill handle not working
I have a new HP Elitebook laptop running Windows 10 pro with Office 365 that I downloaded last week. OS and Office are up to date. I'm working on a huge analysis that I do every month and my cursor is acting really bizarre in Excel. The fill handle isn't working; when I click by the header of a column, the down arrow doesn't appear; I can't adjust column widths; it's very hard to select a whole row by clicking the numbers along the left side (keeps wanting to change row height unless I expand the row and then do it...) Does anyone have any idea what's going on here? I'm super-frustrated! I have checked the Options, Advanced, Editing Options, to ensure 'Enable fill handle and cell drag-and-drop' checkbox is selected. I have also made sure 'Formula - Calculation Options' is set to Automatic. My mouse pointer still will not change to a 'move pointer'. Therefore, I am unable to use the Fill handle to copy a formula down a column. I've checked that the spreadsheet is at 100%, so scaling shouldn't be an issue... please help!!Solveddonna140Apr 10, 2025Copper Contributor64KViews3likes17Comments
Resources
Tags
- excel42,538 Topics
- Formulas and Functions24,672 Topics
- Macros and VBA6,399 Topics
- office 3656,012 Topics
- Excel on Mac2,649 Topics
- BI & Data Analysis2,366 Topics
- Excel for web1,912 Topics
- Formulas & Functions1,716 Topics
- Need Help1,703 Topics
- Charting1,633 Topics