excel - How do I do a sum of contents in an adjacent cell equal a set value -


what formula use sum of contents of range of cells, provided contents of adjacent cell equal cell.

the example give is, if have set of invoices quote purchase order, want see sum of invoices given purchase order, have included link excel spreadsheet have tried 2 different formulas can't seem grips need do. formulas in column j.

https://www.dropbox.com/s/xw9aun1cblro9ix/test.xlsx?dl=0

you'd better lock references use absolute column references this:
put formula in j , copy down:

=sumif($c$2:$c$4,$h2,$b$2:$b$4) 


add $ sign column refs.


Comments

Popular posts from this blog

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -