Returning a value if three columns match in excel
问题 I have two excel sheets where I need to match three values to return a fourth. The similar columns are month, agent, and subdomain. The fourth column is called difference. 回答1: Concatenate would work, as per @MakeCents suggestion, but if you don't want a helper column, SUMPRODUCT would work. example: =SUMPRODUCT(--(A2:A12="d"),--(B2:B12="S"),--(C2:C12="Apr"),D2:D12) would search range A2:A12 for "d", B2:B12 for "S" and C2:C12 for "Apr", and return the value fom D2:D12 that corresponds to