Building a dynamic formula
Our take
Navigating the complexities of Excel can be challenging, especially when trying to predict storage device capacity. You've attempted to streamline your process with dynamic formulas using "concat," only to discover that it merely constructs the formula without evaluating it. While "indirect" seemed like a solution, it falls short when dealing with external workbooks that aren't open. This leads to frustrating "REF" errors.
The friction this user is experiencing isn't a niche problem. It's the growing edge where traditional spreadsheet workflows start to buckle under the weight of real-world data infrastructure. When a SharePoint folder name changes and breaks sixty-plus rows of hard-coded references, the issue isn't the formula. It's the assumption that a static tool can gracefully handle a dynamic environment. If you've ever watched a carefully built workbook collapse because someone renamed a data source, you already know this pain. It's the exact kind of structural vulnerability that drives people to ask whether there's a better way to manage their data. And if you've been following conversations around spreadsheet layout and formula fragility, you've probably seen similar stories emerge. A quick scroll through our recent coverage reveals the pattern: people building increasingly sophisticated models in tools that were never designed to keep pace with how work actually moves today. See Excel formula automatically rewriting itself?? and How to deal with a bulky spreadsheet that is starting to hit the limits of Excel? for related frustrations.
What makes this particular story instructive is the sequence of discovery. The user moved from hard-coded references to CONCAT, then to INDIRECT, each step solving one problem while revealing another. That progression mirrors how most people encounter the limits of spreadsheet logic: not in a single failure, but in a gradual accumulation of workarounds that each add their own fragility. CONCAT builds the formula text but doesn't execute it. INDIRECT evaluates that text, but only when the referenced workbook is open locally. And the SharePoint environment introduces a layer of indirection that neither function was designed to handle gracefully. This isn't a failure of the user. It's a mismatch between the tool's architecture and the infrastructure it's being asked to serve. The instinct to solve this with clever formula construction is exactly right, but the underlying constraint is more fundamental. When your data lives in external, cloud-hosted sources, you're operating outside the assumptions that traditional spreadsheet evaluation was built on.
There's something worth naming here about the culture of spreadsheet problem-solving. Many of us have inherited or built workflows that rely on manual intervention as a safety valve. If a reference breaks, someone notices and fixes it. That works until the volume of references makes it unsustainable, or until the organization's data sources shift faster than anyone can patch individual formulas. For anyone navigating this same territory, understanding that CONCAT and INDIRECT each serve a specific purpose but don't compose into a complete solution is a genuinely useful insight. It saves time and prevents the kind of debugging spiral that eats entire afternoons. If you're also looking for better ways to think about spreadsheet architecture from the ground up, Resources that help you get better at laying out Excel spreadsheets? offers a broader perspective on design decisions that pay dividends later.
The deeper question this post raises is one worth sitting with. As organizations move more of their data into cloud platforms and collaborative environments, the gap between what spreadsheets can reference and what they can reliably evaluate will only widen. The tools that win will be the ones that treat external data as a first-class citizen rather than an afterthought bolted onto a desktop-native model. For now, the user is out of luck within Excel. But the frustration they're describing is exactly the signal that points toward where things need to go next.
I'm using Excel to predict the capacity usage of storage devices. It's clunky, but it works great until someone changes the name of the SharePoint folder I'm using to reference my data. (This has happened twice) I had the brilliant idea (or so I thought) to dynamically build the formula using "concat", which I thought would allow me to simply change one cell and be able to affect all of my entries (about 65 rows).
I then learned that "concat" only builds the formula, it does not evaluate it and that I needed to use "indirect" to evaluate it. That worked, except my output was "REF", not what I was expecting. After a little more digging, I found that "indirect" does not work with external workbooks that are not open on the local machine. (I don't want to open 60 workbooks to get the data I need)
It looks like I am out of luck, but I am hoping someone else has a brilliant idea I have not considered yet.
Thanks
[link] [comments]
Read on the original site
Open the publisher's page for the full experience
Related Articles
- Excel formula automatically rewriting itself??Hi all, this is a really odd problem to run into and I am unsure how to proceed from here. I am currently entering data and I have Excel performing an =SUM(B5:AC5) for my data that is being entered. Because the data entry can go pretty fast sometimes, I would keep entering data past AC5 before I realize what happened. When I look at my SUM column, Excel has flagged my =SUM(B5:AC5) formula with the error below, which is fine and whatever, but it is automatically changing my =SUM(B5:AC5) formula to =SUM(B5:AF5) or something of similar depending on what column I stopped at. Just for reference, data from AD5 to AO5 is being summed up in another column with SUM=(AD5:AO5). Formula error being flagged by Excel I have no idea why it is doing this and I tried to ignore error, but it still automatically rewriting my formula anyways! This worksheet and formula worked smoothly 4 months ago so I don't know what is going on. submitted by /u/WildKhanine [link] [comments]
- Resources that help you get better at laying out Excel spreadsheets?When I have the opportunity to see someone else's sheets, sometimes I feel like "oh that's a better way to lay out the inputs v data/calcs. I'm comfortable with the data and formulas used, but I always feel like I could use improvement in laying out my information for others to understand. My brain thinks about in one sequence but that may not be the same for others. Are there any resources you've used that helped you get better at synthesizing the building of your workbooks? submitted by /u/brooklyn735 [link] [comments]
- How to deal with a bulky spreadsheet that is starting to hit the limits of Excel?Hello all, I have been venturing on quite the Excel journey the past year or so. I made a corporate spreadsheet that is approaching 500k formulas and that is starting to get serious speed issues at this point. It is 2026, so I conversed with ChatGPT several times regarding the speed issue, but realized I am way better off asking the experts here anyways. What is the problem So, my spreadsheet imports flat databases with specific information regarding objects that need further analysing. The imported flat databases run from say A tot CC or something, from which I probably draw about 12-15 datafields that are used for further analysis. It 'may' be more in the future. Afterwards, said data gets 'enriched' (manually) by things that aren't in the database, also because said data needs a human eye that cannot be automated. So far, so good. Right now, each object gets analysed from several different angles. As it stands, my spreadsheet runs from A until NA or something on the Formula Page. Many columns receive data from preceding columns, that are in the turn the result of many (slightly complex) logical IF or IFS tests, many of which are nested 3 or 4 deep. Often, they work in conjunction with X.LOOKUP to retrieve values, as the columns on the formula page are not equal. For example: A until BC on the Formula Page may analyze 150 objects, BD until DD may analyse 100 objects (from the same dataset, so narrower), and so forths. Thus a lot of X.LOOKUP is required, also because the first 'block' comes up with values that need to be found with X.LOOKUP. Also, values need to be retrieved from the flat database 'import' page with X.LOOKUP. Finally, X.LOOKUP is an insurance compared to FILTER, as I am not fully convinced that empty values in the flat database always contain a space (" "). To get to the point I use many IF, IFS, AND, and if need be, OR, formulas. Thinks: tens of thousands, probably in excess of 100k. These are compounded with X.LOOKUP, or X.LOOKUP gets used copiously without those. Here too, think tens of thousands. These formulas are - as much as possible - in array format, even though I find it controversial to do that as I consider how it can create a chain of updates throughout the spreadsheet. 'Dependencies' is the name of the game, with one object receiving many possible alterations / adjustments due to manual input data, for which the spreadsheet needs to provide. Right now, when I update a value, it may take up to 4 seconds to update the spreadsheet, which is already beyond the annoyance point for me. This leads me to these (hopefully) simple questions: Is it smart to use array formulas, knowing that each thing I change should only impact that one object line (for example, row 488) and none other? It is important to mention that object 1 does not influence object 488, or any other. Any manual data field only effects the object in the row it is in. In my mind, array formulas do not make sense in that regard, as it can result in a cascade of updates, but apparantly array formulas are 'way more efficient'. Is use of a VBA library the way to go to reduce lag and create more of an instant spreadsheet again? I am not able to code in VBA yet, but I am in the slow process of learning it regardless. Alternatively: should I use LET whenever a repeated lookup is needed in the same formula? Really looking for to your answers! submitted by /u/EvolvedRevolution [link] [comments]
- I built a tool that lets you skip Excel formulas (would love your feedbacks)Hey everyone, If you work with Excel a lot, you probably spend way too much time figuring out formulas and structuring data before you can actually get insights. I’ve been building a web app called Neural Sheet to simplify that workflow. Instead of writing formulas manually, you can just upload your Excel file, describe what you want in plain language, and it generates the result for you. You can then download everything back as a normal Excel file with full control. It’s still early, but most core features are already there, and I’d really value honest feedback from people who actually use spreadsheets daily. You get 30 free edits to try it out. If you hit the limit and want more, just DM me and I’ll top you up. Would love to hear what works, what doesn’t, and what feels missing. submitted by /u/NeuralSheet [link] [comments]