r/excel • • 11h ago

unsolved I want a way to sort my .txt files into on dadasheet

4 Upvotes

I have a bunch of .txt that as the same format that I want to keep only few data from each file to one excel datasheet

So yeah, all the .txt files have the same formatting.

The files name looks like "...SLM_XXX_123.txt"

"XXX" is for "001, 002, 003, ..."

I wonder if you can help me.


r/excel • • 19h ago

solved Trying to convert 3 columns into a grid

4 Upvotes

I have a spreadsheet with 3 columns: Computer Name, Setting Name, Setting.

Computer NameSetting NameSetting
CPU1DisplayRed
CPU2DisplayRed
CPU3DisplayBlue
CPU1PW Length10
CPU2PW Length12
CPU3PW Length8

I'd like to change it so it looks like this isntead:

Setting NameCPU1CPU2CPU3
DisplayRedRedBlue
PW Length10128

I know I can Copy/Paste Transpose but it's thousands of lines and that will take forever. I thought a pivot table would work but I can't figure out a way to display the values instead of having it sum them up. I thought maybe xlookup would work but I can't figure out the syntax. Any help would be greatly appreciated.


r/excel • • 17h ago

unsolved Blank rows at bottom of my sheet are making the scroll bar useless

26 Upvotes

I have a sheet with a little over 1,400 rows of data. However, the scroll bar on the right side acts like there are approximately 30,000 rows (that's roughly where I end up if I drag the scroll bar down to the bottom.

Here's what I've tried so far, with no success:

  • (select rows), right click > Delete
  • (select rows), Home tab > Delete > Delete Sheet Rows (also tried Delete Cells)
  • (select rows), right click > Hide

If I do F5 > Special > Last Cell, I end up on my desired last row of data, but there's still tens of thousands of rows below it.

The sheet in question is a data source for several other sheets in the same workbook (formulas point back to this tab), so I'd like to avoid copying/pasting into a new tab or book.


r/excel • • 2h ago

solved Get Pivot Data but reference another cell for item1 text?

1 Upvotes

I need to compile data from multiple pivot tables, I would like to make my [item1] reference another cell that contains the string of text.

As an example I want to use the text from C13 as item1 in the GETPIVOTDATA equation in D13.


r/excel • • 16h ago

Discussion Build your own data types right in the Excel grid

20 Upvotes

With entities and dot functions, you can turn a product, a project, or a recipe into a single value, with all its details, and use it in any formula. Every model is made of things: products, projects, recipes, workout plans. In most workbooks, a thing is spread across columns and lookup tables, and every formula has to know where each piece lives. Change the thing, and you go hunting for everything related.

Now anything can be a single value, built with a formula and passed through calculations, like any other type of value. Entities and dot functions are rolling out to Microsoft 365 Insiders in Beta Channel on Windows and Mac, and in Excel for the web.

https://techcommunity.microsoft.com/blog/microsoft365insiderblog/build-your-own-data-types-right-in-the-excel-grid/4578064


r/excel • • 4h ago

unsolved How do I auto sum rows according to how another column is merged?

4 Upvotes

For e.g. see below, i have 2 different datapoints for which are merged with different data (datapoint 1 is 6 rows, datapoint 2 is 3 rows). Is there an excel formula where i can create a separate table to collapse datapoint into 1 row, and the number will show the sum of 1+2+4+5+3+5? And accordingly for other datapoints for which may be merging a different number of rows together?


r/excel • • 11h ago

Discussion Excel's IF hits a resource error at 53,687,091 broadcast elements (0x3333333), but multiplication handles 100M. Known limit?

6 Upvotes

There is a 53 million element limit on a single dynamic array established from community testing. I found no formal documentation for it. It is specifically 53,687,091 elements (0x3333333 in hex), and in my tests it does fail with "ran out of resources while attempting to calculate". (Heads-up this limit seems to be for Excel desktop)

However, I tried a different test at 100 million elements, and it works perfectly fine. I have no explanation for the difference.

Test A: works at 100,000,000 elements

=SUM(SEQUENCE(,10000)*SEQUENCE(10000))

Test B: works at 53,684,929 elements

=SUM(IF(SEQUENCE(,7327),SEQUENCE(7327)))

Test C: fails at 53,692,256 elements

=SUM(IF(SEQUENCE(,7328),SEQUENCE(7327)))

Adding a single extra element to the IF test is enough to make it fail, so the boundary is exact.

So,

  • Is this a well-known limitation?
  • Maybe the 53M limit is only bound to IF?
  • Is it documented anywhere, by Microsoft or anyone else?
  • Why would IF hit it while multiplication handles 100 million?

r/excel • • 11h ago

unsolved XLOOKUP behaviour with single cell search array

5 Upvotes

I'm converting an old spreadsheet from IFERROR(OFFSET(MATCH))) to XLOOKUP. FYI, I'm using Apple Numbers.

During data accumulation phase, there are multi row arrays. I need to find (or not find) the row matching an identifier, and then pick out a cell (or cells) in later columns. Once data accumulation is over, some arrays will be trimmed to a single row - either with one row of data, or a blank row just so that column SUMs still work.

Is there a specification for what XLOOKUP does when the search array is a single cell, i.e. a 1x1 array? My experiments in Numbers show that it is in VLOOKUP orientation. Luckily that's what I need. My experiments show it does NOT look at the result array to determine search axis. Everything works fine now, but I'm a little worried that I'm relying on unspecified behavior. If it were to switch to HLOOKUP, that would be bad.


r/excel • • 6h ago

Challenge Advent of Code 2026 Day 2

3 Upvotes

--- Day 2: Fulminating Farmland ---

https://adventofcode.com/2026/day/2

Past Coding Challenge spiel on etiquette:

https://www.reddit.com/r/excel/comments/1pbgisa/advent_of_code_2025_day_1/


r/excel • • 16h ago

unsolved Application Crashing randomly (typically on workbook open)

2 Upvotes

I have a handful of workbooks open throughout my day-to-day job. I have a good amount of macros and formulas working great, but nowhere near something that should be overwhelming for my work laptop.

Seemingly randomly, but typically when I open a workbook (and no, it doesn’t matter which one) the app freezes and closes all workbooks. Then re-opens the application to a blank home screen. Then every once in a while, it’ll reload all the workbooks I had open before the crash, then want to resave them as “recovered” files. Any thoughts on how I can fix this? Been going on for over a year and haven’t been able to figure it out. Thanks