Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
240 views
in Technique[技术] by (71.8m points)

Google Sheets: Find Originating Cell Of Cascading Error

I use a lot of calculations in a spreadsheet with ~3M cells. Many of the these calcs are cascading, ie they use the results of previous calcs. I find it a very tedious task to track back through the cell formulas to find the cell where the error originated, especially since I use ArrayFormula() and Index() extensively to populate hundreds/thousands of rows in columns.

The following shows a very simplistic example with made-up formulas for illustration only - rows 5-12 just describe what a cascading sequence of formulas might look like (in reality they are far more complex equations):

enter image description here

I'm looking for a way to display the originating cell in the Error message, so that any subsequent cell would show something like:

Error: Cell D4: Did not find value 'J4-75' in VLOOKUP evaluation.

Has anyone got a suggestion on how this could be done?

question from:https://stackoverflow.com/questions/65649987/google-sheets-find-originating-cell-of-cascading-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I guess thats the purpose of these functions:

IFERROR
IFNA
ERROR.TYPE
ISERR
ISERROR
ISNA
ISREF

where you can type your own error messages so instead of this:

enter image description here

you would get this:

enter image description here

or to make it more violent:

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...