Dynamic filter help.

russelldt

Board Regular
Joined
Feb 27, 2021
Messages
158
Office Version
  1. 365
Platform
  1. MacOS
I keep getting a Div/0 error with this formula

=FILTER('Job Register'!A:AT,(ISNUMBER('Job Register'!AT:AT))*(('Job Register'!AT:AT<-0.02)+('Job Register'!AT:AT>0.02)))


My column AT has both blank cells and #div/0! cells.

Any help would be appreciated, Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Maybe change the ISNUMBER function to an ISERROR function: not sure if i have the parenthesis correct)
Excel Formula:
=FILTER(AT:AT,(ISERROR(AT:AT)=FALSE)*(IFERROR((AT:AT<-0.02),0)+IFERROR((AT:AT>0.02),0)))

subsequent edit. I don't think the isnumber is needed, unless you have other data that needs to be filtered:

Excel Formula:
=FILTER(AT:AT,(IFERROR((AT:AT<-0.02),0)+IFERROR((AT:AT>0.02),0)))
 
Last edited:
Upvote 0
Maybe change the ISNUMBER function to an ISERROR function: not sure if i have the parenthesis correct)
Excel Formula:
=FILTER(AT:AT,(ISERROR(AT:AT)=FALSE)*(IFERROR((AT:AT<-0.02),0)+IFERROR((AT:AT>0.02),0)))

subsequent edit. I don't think the isnumber is needed, unless you have other data that needs to be filtered:

Excel Formula:
=FILTER(AT:AT,(IFERROR((AT:AT<-0.02),0)+IFERROR((AT:AT>0.02),0)))
Thanks for this.

I now get a #calc! error. I have tried both your proposed solutions
 
Upvote 0

Forum statistics

Threads
1,215,223
Messages
6,123,711
Members
449,118
Latest member
MichealRed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top