Thomas Kuriakose
Active Member
Respected Sirs,
We have a worksheet with two tabs. We need to lookup up data from one tab (Data) which has positive values and negative values and match with the reference in the other tab (Match) and extract only positive values. The negative values should be zero.
Kindly find attached the workbook for your reference.
I input the below formula, kindly let me know whether we can have a better way to get the desired result.
=IFERROR(IF(INDEX(Data!A2:A17,MATCH(Match!C2,Data!B2:B17,0))<0,0,INDEX(Data!A2:A17,MATCH(Match!C2,Data!B2:B17,0))),0)
Thank you very much,
with regards,
thomas
We have a worksheet with two tabs. We need to lookup up data from one tab (Data) which has positive values and negative values and match with the reference in the other tab (Match) and extract only positive values. The negative values should be zero.
Kindly find attached the workbook for your reference.
I input the below formula, kindly let me know whether we can have a better way to get the desired result.
=IFERROR(IF(INDEX(Data!A2:A17,MATCH(Match!C2,Data!B2:B17,0))<0,0,INDEX(Data!A2:A17,MATCH(Match!C2,Data!B2:B17,0))),0)
Thank you very much,
with regards,
thomas