I have a financial model that occasionally has a large revision, where entire rows may be deleted. Natural this breaks any formulas referencing those rows. What are the easiest ways to prevent this?
Our take
This is a cash flow model, so it's a bunch of formulas running down the sheet for each month. Sometimes the formula broken will be something as simple as A1+A2+A3; and then column 3 is deleted because it is no longer relevant, and the formula becomes A1+A2+#REF!. These I can usually get around with find and replace.
Sometimes it's a bit more complex though, like if it's encased in a formula such as MAX or a XLOOKUP. I can't change these just by replace, I'd have to individually find each line and adjust the reference to the new reference.
The annoying thing here is that this is all manual work. There are hundreds of rows as well as other sheets which may reference these rows, and it's very hard for me to track which cells I'll break by doing this. Trace dependants isn't too helpful because when it's a range being referenced I'll have thousands of references technically.
Is there a cleaner way to do this?
[link] [comments]
Read on the original site
Open the publisher's page for the full experience
Related Articles
- Why do financial models always betray you at the assumptions stage?Like seriously… it starts off all clean and beautiful. Proper structure, nice formulas, everything makes sense. You feel like a finance god for a moment. Then assumptions enter. You add a few growth rates… then costs… then pricing… then “just one more scenario”… and suddenly the whole thing starts acting weird. Numbers stop matching, links get confusing, and you’re scared to change anything because something somewhere might break. And yes… a few things may or may not be hardcoded “just for now” (we all know what that means). The real pain hits when someone asks, “Can we tweak this assumption?” And you’re like… “yeah… but also no.” how do you guys keep your models from turning into chaos once assumptions kick in? submitted by /u/WoodpeckerNo5214 [link] [comments]
- Why Do My Excel Formulas Break?Hi all, I’ve noticed that my formulas often break when I copy them or change data. I think I’m messing up references, but I’m not sure how to fix it properly. Are there any simple techniques to avoid this? Would really appreciate beginner-friendly advice. submitted by /u/ModernWebMentor [link] [comments]
- Internal references are disappearing?tl;dr - excel is deleting reference formulas and leaving behind whatever the value was that was last input into that cell before it deleted the reference. Why is it deleting the reference and how do I stop it? Background info: My company uses an excel spreadsheet for calculating material costs when bidding for jobs. There are 12 different sheets in the workbook that have totals at the bottom from various vendors, and then a 13th sheet that displays and adds the totals of each page for a grand total. These are all in the same workbook. I've provided a mock-up attached of the problem area's visual set-up. How it's set up: Each 0.00 is a reference to the cell on each tab that totals the whole page. The reference looks something like ='Tab 1'!E104 and then a simply sum in the subtotal, multiplied for tax below that, and then the grand total being a sum of the two cells above it. The issue: It seems that sometimes while the file is being moved around (all within linked DropBox folders), the cells that hold the individual tab references all lose their references and are just replaced with whatever value was in the cell at the time it disconnects. I've tried recreating this issue without luck (only one employee is experiencing it, but then I have to redo all of the references on the file when it happens). He'll move it from one DB folder to another, add whatever data he needs to, and then move it back to a primary DB folder. At some point in that transition, all references are lost. There are no #REF (or any other kind of) errors - for example, the reference would have pulled $150 over, but now when you click on the cell, you don't see the formula I stated above, just that number as if it had been typed in rather than pulled from a reference cell. I've spent all day trying to figure this out for him so that it stops happening - I made test files and moved them around all over the place from Desktop to different DB folders and back. I had a theory that it was a Trust Center issue but have adjusted those settings on his system to trust the folders he works within and it still happened. I also tried thinks that I knew would probably break a file and would hit Enable Content thinking maybe when he got that prompt that was what was doing it but the references in my test files stayed even after all of this stress testing. Does anyone have any insight as to what's going on and how I can stop it from happening anymore? Thank for you making it to the end if you got this far, and even bigger thanks if you can provide any insight! submitted by /u/Aggressive_Toe_5953 [link] [comments]
- How do you figure out the logic of a huge Excel workbook with dozens of linked sheets and circular references?I sometimes receive Excel workbooks that have 20–30 worksheets with a lot of formulas referencing each other across sheets, and it can take a long time to understand how everything is connected. Excel has things like Trace Precedents / Trace Dependents, but that works mostly at the cell level and becomes difficult to follow when the workbook is large. I’m wondering if there are any tools that can: - Automatically extract formulas from a workbook - Detect cross-sheet references -Generate some kind of visual dependency map between sheets - Help explain what each sheet is doing Basically something that can help reverse-engineer a complex Excel model more quickly. Are there any add-ins, tools, or workflows people here use for this? It's very frustrating and becomes a nightmare when engineering companies keep adding on to bloated Excel files without documentation on how the model works. Tracing the formulas manually is such a pain submitted by /u/sporty_outlook [link] [comments]