FILTER Between two numbers

Lancer7

Board Regular
Joined
Oct 16, 2022
Messages
57
Office Version
  1. 365
Platform
  1. Windows
=FILTER('Machinery Pete Scrape'!$A$2:$Y$3000,(SEARCH($E$5,'Machinery Pete Scrape'!$I$2:$I$3000&"_"&$E$5)=1)*ISNUMBER(SEARCH($D$5,'Machinery Pete Scrape'!$B$2:$B$3000)),"") I currently have this formula that works great but wanting to make a change. Cell E5 contains a year so say 2024 for example so in the formula it brings results matching E5, Id like to be able to do a range of years If i had years in cell E6 as well so if E5 contained 2005, and E6 was 2024 all results between those years would come across to the cell this formula is in
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Does this work for you?

Excel Formula:
=LET(y,IFERROR(--LEFT('Machinery Pete Scrape'!I2:I3000,4),9999),FILTER('Machinery Pete Scrape'!A2:Y3000,(y>=E5)*(y<=E6)*ISNUMBER(SEARCH($D$5,'Machinery Pete Scrape'!B2:B3000)),""))
 
Upvote 1
Solution
No didn't work! Not sure why it doesn't bring back any results, No error either just brings back a blank cell
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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