So I am trying to sum up only certain values from one worksheet that has a designated code with that value at the same time though I only want to be able to add up certain codes based on their classification that is on another worksheet. Any advice would be greatly appreciated.