excel - Combining VLOOKUP with SUM -
i trying vlookup
column "b" values "j" there duplicates in b. how can sum values in j same b reference in lookup formula without doing pivot, etc? report third party , needs updated around 10 times day, doing other steps uncomfortable.
so normal formula bring me first value against first unique reference in b , on. give me sum of values in j first reference , on.
ps: couldn't post image have helped all.
you looking sumif
formula:
=sumif(b:b;valueyouwant;j:j)
and if want show "no value" when value not found, add vlookup
too. suppose search data in columns , b of slave sheet:
=if(isna(vlookup(valueyouwant; slave!a:b; 2; false)); "no value"; sumif(slave!a:a;valueyouwant;slave!b:b))
Comments
Post a Comment