Filter Function Not Working As Expected

TellM1955

New Member
Joined
Apr 8, 2021
Messages
38
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I have an issue when using the filter function based on 2 sets of criteria. If I filter each piece of data independently it works fine, the issue only occurs when I include the And. Is anyone able to determine what is causing this?
Book1
ABCDEFGHIJKLMNOPQR
1SerRouteWhenPickUp-DropOffRouteOrderTimeRoutes#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
21HawkingeAMGrams/St Clares Rd2AMHawkinge#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
37HawkingeAMFinch Moat /St Barrys Rd3PMMerryFile#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
44HawkingeAMLiverpool Rd4Ashford#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
56HawkingeAMArchery Square5Chatham#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
63HawkingeAMRowing Club6#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
75HawkingeAMGoodwyn Close7#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
82HawkingeAMGarage Paris Rd8#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
98HawkingeAMArrive 25#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
109HawkingeAMDepart 1#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
1110MerryFileAMAmble Station1#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
1211MerryFileAMHeckier Ewell4
1312MerryFileAMTA Centre Amble3
1413MerryFileAMArrive 25
1514MerryFileAMDepart 1
1615AshfordAMArrive 25
1716AshfordAmDepart 1
1817AshfordAMBoat Roundabout13
1918AshfordAMNorth Farm Farm5
2019AshfordAMBoundary Rd2
2120AshfordAMSouth Farm3
2221AshfordAMEast Marshal6
2322ChathamAMDimpless Parkway6
2423ChathamAMSpring Park8
2524ChathamAMJoust Carpark10
2625ChathamAMArrive 25
2726ChathamAMDepart 1
2828ChathamAMArrive 25
2929ChathamAMDepart 1
3030AshfordPMNorth Farm Farm5
3131AshfordPMBoundary Rd2
3232AshfordPMSouth Farm3
3333AshfordPMEast Marshal6
3434ChathamPMDimpless Parkway4
3535ChathamPMSpring Park7
3636ChathamPMJoust Carpark8
3737ChathamPMArrive 25
3838ChathamPMDepart 1
3939HawkingePMArrive 25
Sheet1
Cell Formulas
RangeFormula
N1:R11N1=FILTER(TblRouteData6,TblRouteData6[Route]=K2)*(TblRouteData6,TblRouteData6[When]=J2)
J2:J3J2=UNIQUE(CHOOSECOLS(FILTER(TblRouteData6,TblRouteData6[When]<>""),3))
K2:K5K2=UNIQUE(TblRouteData6[Route],)
Dynamic array formulas.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
It seems that there are some inaccuracies within your FILTER formula:

Excel Formula:
=FILTER(TblRouteData6,(TblRouteData6[Route]=K2)*(TblRouteData6[When]=J2))
 
Upvote 1
Solution
If you are using the Filter function, then I don't think your profile is accurate, as it shows you are using Excel 2016, and the Filter function is not available on that version.

1727870870596.png


Would you mind updating your profile to accurately reflect what version of Excel you are now on?
It is often helpful to responders to know which version you are on, so they know which functions you have access to.

Thanks
 
Upvote 0
If you are using the Filter function, then I don't think your profile is accurate, as it shows you are using Excel 2016, and the Filter function is not available on that version.

View attachment 117576

Would you mind updating your profile to accurately reflect what version of Excel you are now on?
It is often helpful to responders to know which version you are on, so they know which functions you have access to.

Thanks
Joe, thank you for pointiing that out. I've only recently taken on 365 and hadn't updated my details.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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