Exel Filter formula with multiple criterias

esmarques

New Member
Joined
Oct 27, 2020
Messages
34
Office Version
  1. 365
Platform
  1. MacOS
Hello,
I am trying to add some filters that are not returning what I would like. If someone could help ? Only looking for the formulas on IP Progress Tracker Tab columns A, D and G.
In "Data" tab, data on colums L and M are related to each other, column M is a type related to column L, same as for columns O and P

At the moment I believe the filters I entered are only looking the matches on columns L and M but not O and P.

For example on Ip Progress Tracker tab, Cell A4, the result for that filter at the moment should be Stone Carves and Drumming
Filter on D4 should return Knights and Bloco
Filter on G4 - Dovestone Meeting
...
A20 - none
D20 - none
G20 - Dance

Any help welcome

thank you

"Data" Tab:
Book1
ABCDEFGHIJKLMNOPQRSTU
1ReferenceDate [Happening]Arrangement ReferenceDescriptionSales ManagerCustomerLocal AuthorityActivity Outcome (NPO)Activity Outcome NotesSub-Activity Outcome (NPO)Sub-Activity Outcome NotesIP Tracker (NPO) 1Type 1IP Tracker Notes 1IP Tracker (NPO) 2Type 2IP Tracker Notes 2Number of participantsFinal NumbersNumber of people involvedFinal number?
238274/1/24KNI001KnightsAct.6 - high quality arts venueEnvironmental Responsibility Skills development0checked
33544/1/2425Dovestones MeetingEnvironmental Responsibility People and representation
421314/2/24166BlocoAct.2 - Artist DevwqerqwerqerAct.1 - Young Artist DevAmbition and QualityPeople and representationEnvironmental Responsibility Skills development0unchecked
521324/2/24166BlocoAct.2 - Artist Dev21231231231Act.2 - Artist DevAmbition and QualityPeople and representation22233Environmental Responsibility Skills developmentFRRF0unchecked
625384/2/24166Stone CarversAct.2 - Artist DevprprprprAct.2 - Artist DevEnvironmental Responsibility 0unchecked
738274/1/24KNI001KnightsAct.6 - The Vale as a high quality arts venue0checked
825384/2/24166DanceAct.2 - Artist DevprprprprAct.2 - Artist DevPeople and representation0unchecked
925384/2/24166DrummingAct.2 - Artist DevprprprprAct.2 - Artist DevEnvironmental Responsibility 0unchecked
10
11
Data


"IP Progress tracker":
Book1
ABCDEFGHI
1ENVIRONMENTAL RESPONSIBILITY
2NO TYPESKILLS DEVELOPMENTPEOPLE AND REPRESENTATION
3ActivityNo of ActivitiesNotesActivityNo of ActivitiesNotesActivityNo of ActivitiesNotes
4Stone Carvers1 Knights0noneNone0none
50 0 0 
6
7
8
9AMBITION AND QUALITY
10NO TYPESKILLS DEVELOPMENTPEOPLE AND REPRESENTATION
11ActivityNo of ActivitiesNotesActivityNo of ActivitiesNotesActivityNo of ActivitiesNotes
12none0 None0noneBloco0none
130 0 0 
14
15
16
17NO TRACKER
18NO TYPESKILLS DEVELOPMENTPEOPLE AND REPRESENTATION
19ActivityNo of ActivitiesNotesActivityNo of ActivitiesNotesActivityNo of ActivitiesNotes
20Dance1 None0noneNone0none
210 0 0 
22
23
IP Progress Tracker
Cell Formulas
RangeFormula
A4,A12A4=UNIQUE(LET(f,FILTER(Data!$D$2:$Q$1000,(Data!$D$2:$D$1000<>"")*(Data!$L$2:$L$1000=A1)),d,INDEX(f,,1),FILTER(d,ISNA(XMATCH(d,SORT(UNIQUE(FILTER(d,(INDEX(f,,10)<>"")+(INDEX(f,,13)<>"")))),,2)),"none")))
B20:B21,B12:B13,B4:B5B4=COUNTIF(Data!D:D,A4)
C4:C5C4=TEXTJOIN(", ",,UNIQUE(FILTER(CHOOSECOLS(Data!$N:$Q,1,4),Data!$D:$D=A4,"none")))
D4,G4,D12,G12D4=IFERROR(UNIQUE(FILTER(Data!$D:$D,(Data!$L:$L=$A1)*(Data!$M:$M=D2))),"None")
H20:H21,E20:E21,H12:H13,E12:E13,E4:E5,H4:H5E4=COUNTIF('[Outcome_KPI_ analysis.xlsx]Data'!$D:$D,D4)
I20:I21,F20:F21,I12:I13,F12:F13,F4:F5,I4:I5F4=TEXTJOIN(", ",,UNIQUE(FILTER(CHOOSECOLS('[Outcome_KPI_ analysis.xlsx]Data'!$N:$Q,1,4),'[Outcome_KPI_ analysis.xlsx]Data'!$D:$D=D4,"none")))
C20:C21,C12:C13C12=TEXTJOIN(", ",,UNIQUE(FILTER(CHOOSECOLS('[Outcome_KPI_ analysis.xlsx]Data'!$I:$K,1,3),'[Outcome_KPI_ analysis.xlsx]Data'!$D:$D='[Outcome_KPI_ analysis.xlsx]Activity Outcomes'!A78,"none")))
A20A20=UNIQUE(LET(f,FILTER(Data!$D$2:$Q$1000,Data!$D$2:$D$1000<>""),d,INDEX(f,,1),FILTER(d,ISNA(XMATCH(d,SORT(UNIQUE(FILTER(d,(INDEX(f,,9)<>"")+(INDEX(f,,12)<>"")))),,2)),"none")))
D20,G20D20=IFERROR(UNIQUE(FILTER(Data!$D:$D,(Data!$L:$L=$A17)*(Data!$M:$M=D18)+(Data!$O:$O=$A17)*(Data!$M:$M=D18))),"None")
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hello, I may have found a way round using VSTACK... thank you all anyway.
 
Upvote 0
Good to hear you got the solution.
If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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