excel - How to have Range condition in VLOOKUP? -
i have below table in excle file , want find value column respective input.
col col b col c min max value 101 aa high 0 10 1% 101 aa high 11 20 2% 101 aa low 0 10 3% 101 aa low 11 20 4% 101 bb high 0 10 5% 101 bb high 11 20 6% 101 bb low 0 10 7% 101 bb low 11 20 8%
for input 101, aa, low, 12 - should 4% have tried formula array , working great, prerformnace not , hence wanted move away. dont want use dsum or vba. want achieve in plain excel formula. please help
if there no duplicate rows, can use following formulas:
for excel 2007 or later:
=sumifs(f2:f9,a2:a9,101,b2:b9,"aa",c2:c9,"low",d2:d9,"<="&12,e2:e9,">="&12)
for excel 2003:
=sumproduct((f2:f9)*(a2:a9=101)*(b2:b9="aa")*(c2:c9="low")*(d2:d9<=12)*(e2:e9>=12))
where 101
, "aa"
, "low"
, 12
changed cell references (e.g. g1
,g2
, on)
Comments
Post a Comment