Excel search for cell references in formulas

不想你离开。 提交于 2019-12-09 08:27:35

问题


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 necessary.

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?


回答1:


Tools > Formula Auditing > Trace Precedents or Trace Dependents (Excel 2003)

Formulas > Trace Precedents or Trace Dependent (Excel 2010)




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/7152934/excel-search-for-cell-references-in-formulas

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!