Filter Function with three criteria based on "AND"

Toncar58

New Member
Joined
Feb 24, 2021
Messages
30
Office Version
  1. 365
Platform
  1. MacOS
Good day
I’m looking for help with the FILTER function. The aim is to filter data into a separate worksheet based on three criteria 1) All blank cells in a column, 2) Dates more than or equal to a certain date (based on a captured date in another cell), and 3) Dates less than or equal to a certain date (based on a captured date in another cell).
The formula I am using
=FILTER('CapLeg Fee Tracker'!$B$5:$B$2000;('CapLeg Fee Tracker'!$M$5:$M$2000<>””)*('CapLeg Fee Tracker'!$D$5:$D$2000>='Control Sheet'!$X$9)*('CapLeg Fee Tracker'!$D$5:$D$2000<='Control Sheet'!$X$10))
gives me a #Value error
Control sheet - cell X9 and X 10 sets out the date 1 April 2022 and 30 April 2022
CapLeg fee tracker – is the source document

Any assistance will be greatly appreciated.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Your formula looks OK.

Check for #VALUE errors in 'CapLeg Fee Tracker'!$D$5:$D$2000 and 'CapLeg Fee Tracker'!$M$5:$M$2000.

These may cause a #VALUE error in your filtered results.
 
Upvote 0
Solution
Your formula looks OK.

Check for #VALUE errors in 'CapLeg Fee Tracker'!$D$5:$D$2000 and 'CapLeg Fee Tracker'!$M$5:$M$2000.

These may cause a #VALUE error in your filtered results.
Thank you so much ... just seen the #VALUE errors in column "M"
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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