I am trying to use INDEX
, MATCH
and COUNTIFS
in excel to filter for relevant data within 2 spreadsheets. However, the formula below only returns the first value of per the matched criteria and replicates this value throughout the identified rows:
IF(COUNTIFS(A:A,$A43,J:J,G$3),INDEX(L:L,MATCH(G$3,J:J,0))),"")
*Please see a sample of the criteria i am trying to match below. If the IDs and Names in table 1 and 2 are matched, display the % Allocated in Table 2. The problem i'm having is that the formula only matches Bill at 10% and displays 10% for every other matched name.
Table 1:
ID Name Project % Allocated
4121 Bill 30100 10%
4122 Murray 30200 30%
4123 Harmon 30300 50%
4132 John 30408 40%
Table 2:
ID Name Project % Allocated
4121 Bill 30100
4122 Murray 30200
4131 Shauna 30407
4132 John 30408