I have a tricky question about Google Sheets. It should make a one-column array that…
- User
I have a tricky question about Google Sheets. It should make a one-column array that copies all the values of the cells in the E column of sheet "List" that have errors. The formula is this: =ARRAYFORMULA(FILTER(List!E:E,ISERROR(List!E:E)))
Unfortunately this formula returns both the #REF errors and the N/A errors, and I want it to skip over the N/A errors. Can you suggest an edit to accomplish this?
- Assistant
You can edit the formula to exclude the N/A errors by incorporating the IFERROR function. Here's the revised formula:
=ARRAYFORMULA(FILTER(List!E:E,IFERROR(List!E:E,"#N/A")<>"#N/A"))
This formula checks if there is an error in List!E:E and if it is an N/A error it will replace it with "#N/A" and if it isn't, it will keep the original value. Then, we filter out the cells that still have errors by checking if the value isn't equal to "#N/A".
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.