Forum Discussion
viktor2170
Mar 04, 2020Copper Contributor
Lookup / Index / Match formula
Hi, Hope someone here could help me with a formula which I think could be a Index/match/lookup formula. I have static conditions in columns F:H. These are always true together otherwise not...
- Mar 04, 2020
With some assumptions that could be one of
=IFNA(LOOKUP(2,1/(A2=$F$2:$F$9)/($G$2:$G$9=B2),$H$2:$H$9),"") or =IFNA(INDEX($H$2:$H$9,MATCH(1,INDEX((A2=$F$2:$F$9)*($G$2:$G$9=B2),0),0)),"") or =XLOOKUP(A2&B2,$F$2:$F$9&$G$2:$G$9,$H$2:$H$9,"")or like
Patrick2788
Mar 04, 2020Silver Contributor
Since you have two criteria and the desired return is a number, you may use SUMIFS. This is presuming you want to total the amounts if two criteria appear together in multiple lines.