Filter/Search

Austin Lang

Board Regular
Joined
Sep 10, 2021
Messages
51
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hi all,

I need to create a formula to Filter a list and return all cleanings that took place between a certain time frame. How do I go about creating a search within the filter function that will search between the two times on a certain day? Do I need to bring in an Index-Match?

This is what I have so far..

=FILTER(Form!$A$5:$AU$3000,ISNUMBER(SEARCH(

Date: 12/6/22
Time: 6:00
Time: 1800

TIA,
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
To elaborate on the issue...

I have a master file that is used to enter in all cleans that take place within a month. On a separate tab, I want the file to create a table with all cleans that happened on a specific day and shift. Ideally, the date will always be the current date. The shifts are 0600-1800 and 1800-0600. I have created a formula that does pull all cleans conducted on the date specified. That is this:

=FILTER(Form!$A$5:$AU$3001,ISNUMBER(SEARCH('Trial Failures'!AX11,Form!$R$5:$R$3001)))

I cannot seem to find the way to add additional criteria, more specifically two times, in a way that the formula doesn't return a #value error. I have also converted the times to numbers and attempted to not reference the time cells since they will not change and I still get an error. It seems like my issue is how I am entering my additional criteria. I am not sure If I can use some other lookup function to include all the criteria I am looking for. That or find out where my mistake is currently.

This is a failed attempt. This one however does not return #value. It returns the exact same table I get on the above formula. It is ignoring the additional criteria added...

=FILTER(Form!A5:AU3001,ISNUMBER(SEARCH('Trial Failures'!AX11,Form!$R$5:$R$3001)*(Form!$S5:$S3000>AX12)*(Form!$T5:$T3000<AX13)))

Any help is strongly appreciated.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,121
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