Jan 19 2022 09:46 AM
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 no match is found, the result should be 0. I believe I understand why my attempt to use a nested xlookup formula did not work in U3:AE4. Any suggestions would be appreciated.
Jan 19 2022 10:00 AM
=IF(NOT(ISNA(VLOOKUP($G3&H$2,Tag&Date1,1,FALSE))),1,0)
Maybe with this formula. Enter formula with ctrl+shift+enter if you don't work with Office365 or 2021.
Jan 19 2022 10:08 AM
SolutionJan 19 2022 02:33 PM
Jan 19 2022 02:44 PM
Jan 27 2022 02:25 PM
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.
Jan 28 2022 07:21 AM
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.