I am creating a Google Sheet that (among other things) looks at a list of clients, what products they are currently signed up for and calculates the potential value of products we could upsell them to.
I have an example spreadsheet setup here.
The way I want it to work, for each client row, is for the "Sum" cell to add up the values for each Product where the cell contains "Upsell".
The product value to use is then listed on the second tab. I have this as a separate table because values may change in the future or products may be removed or added. And so ideally, I would like to edit the values here as opposed to editing the values within a formula.
However, I am drawing a total blank as to what function I should be using here.