Forum Discussion
scheij
Jan 19, 2022Copper Contributor
Intersection of two lookup values
I would like to write formulas in H3:R15 to find rows in A3:E28 that match both the unique values in G3:G14 and the unique values in H2:R2. When a match is found, the formula should return 1. When ...
- Jan 19, 2022
scheij
Jan 19, 2022Copper Contributor
Thank you for the solutions. Does =FILTER( ) accept wildcard characters in the criteria, like =SUMIFS( ) does?
=TRANSPOSE(UNIQUE(SORT(FILTER(Date1,(MG="=*PIT*")+(MF="PIT"))))) did not detect PITFT and OTPIT values that I added to MG.
=TRANSPOSE(UNIQUE(SORT(FILTER(Date1,(MG="=*PIT*")+(MF="PIT"))))) did not detect PITFT and OTPIT values that I added to MG.
Detlef_Lewin
Jan 19, 2022Silver Contributor
In the include argument replace range="text" with ISNUMBER(SEARCH("text",range)).
- scheijJan 27, 2022Copper Contributor
I recently discovered that Number1 sometimes has several values that match both criteria for Tag and for Date1. See highlighted cells. Adding =UNIQUE( ) to your =FILTER( ) solution restricted the results to 0 or 1. Can you suggest how to do the same with your =SUMIFS( ) option? I don't need to fix the Pivot Table. Vielen Dank.
- Detlef_LewinJan 27, 2022Silver ContributorPlease provide a new sample file.
- scheijJan 28, 2022Copper Contributor
I believe I found a solution by using =MAXIFS( ), rather than =SUMIFS( ). I tried to attach the sample file to my last reply. Here it is again. Thanks for all your help.