What formula would I use to do a sum of the contents of a range of cells, provided that the contents of an adjacent cell equal another cell.
The example I could give is, if I have a set of invoices which quote a purchase order, I want to see the sum of the invoices for that given purchase order, I have included a link to an excel spreadsheet where I have tried two different formulas but can't seem to get to grips with what I need to do. The formulas are in Column J.
=SUMIF(C2:C4;H2;B2:B4)
– user3819867