Thank you sir, but the formula is not correct because in column c, there are other names, not just target rates. The target rates figures are correct but the rates for the other names (Kofi, Ama, Yaa, Kwame) are not correct. I will appreciate it if you could have a review of it.Try,
In D2, formula copied down :
=INDEX(Transport!C$2:C$66,MATCH(A2,Transport!A$2:A$66,0)+MATCH(B2,B$2:B$6,0)-1)
View attachment 80934
Note : Your "Transport" and "Transport comparision Data" 2 sheets' Dimension column (Col B) appear contents of difference spacing,
So,
In the above 2nd match formula, I am using : MATCH(B2,B$2:B$6,0) to fix the matching order.
Regards
Then,Thank you sir, but the formula is not correct because in column c, there are other names, not just target rates. The target rates figures are correct but the rates for the other names (Kofi, Ama, Yaa, Kwame) are not correct. I will appreciate it if you could have a review of it.
Thank You.
Thank you sir, it worked perfectly.Then,
try this revised formula instead
In D2, formula copied down :
=INDEX(Transport!C$2:Y$66,MATCH(A2,Transport!A$2:A$66,0)+MATCH(B2,B$2:B$6,0)-1,MATCH(C2,Transport!C$1:Y$1,0))
or,
=OFFSET(Transport!B$1,MATCH(A2,Transport!A$2:A$66,0)+MATCH(B2,B$2:B$6,0)-1,MATCH(C2,Transport!C$1:Y$1,0))
Thank you, thank you, Thank you, thank you, thank you Sir, I appreciate it.Try,
Please use correct name in the "Agency" criteria column as per following example
In C4, formula copied across right and down:
1] Using INDEX+MATCH function
=IFERROR(INDEX('Transport comparision Data'!$E$2:$E$326,MATCH(1,INDEX((LOOKUP("zzz",$A$4:$A4)='Transport comparision Data'!$C$2:$C$326)*($B4='Transport comparision Data'!$B$2:$B$326)*(C$3='Transport comparision Data'!$A$2:$A$326),0),0)),"")
or,
2] Using SUMIFS function
=IFERROR(1/(1/SUMIFS('Transport comparision Data'!$E:$E,'Transport comparision Data'!$C:$C,LOOKUP("zzz",$A$4:$A4),'Transport comparision Data'!$B:$B,$B4,'Transport comparision Data'!$A:$A,C$3)),"")
View attachment 80944