sum cells based on text in different cell
I need to add cells in column "H" if the cell in the same row, column "C" contains the word "Mag". The cells in column "C" can contain multiple words, so the formula would have to look for "Mag" in the whole cell and not disregard it because it is not a perfect match. Also I would like a formula that would do the opposite, that is add the cells in column "H" if the cell in the same row, column "C" did not contain the word "Mag". Thanks!