Excel search for cell references in formulas
I inherited a big model and have been trying to reverse engineer some of the formulas. There are a lot of fields. I am not sure if everyone of them is nec开发者_如何学Pythonessary.
Is it possible to search an Excel document (with 5 worksheets) to find if say, AZ12 is used in any formula? Or $AZ12 or $AZ$12?
Tools > Formula Auditing > Trace Precedents or Trace Dependents (Excel 2003)
Formulas > Trace Precedents or Trace Dependent (Excel 2010)
I bought the add-in Formula Manager to do this.
If you want to do it yourself, you'll have to implement it in VBA.
Search > Options > Within: Workbook > Look in: Formulas
The upside is that you can broaden the search for example by omitting the row number, or narrow it by including pieces of a formula you want to find. For an inherited file I would Find All '='.
The downside is you have to check with and without dollar signs, a total of four searches for the original example.
精彩评论