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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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