Operator "belongs to" in excel -


i have list of values have named "list1", , want sum values in column b follows:

the value in cell b5 added if , if value in cell a5 belongs list1.

thanks in advance.

ps: i've tried using sumif, haven't managed use function match criterion there.

=sumif(b:b,a:a,match(a:a,list1))

does not work.

=sum(if(iserror(match(a:a,list1,0)),0,1)*b:b) 

this array formula, , needs confirmed ctrl+shift+enter instead of enter. if done correctly, see curly braces ({ , }) appear around formula.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -