Eat More Bacon
Member
Can I search column A of ingredients and check column b to make sure quantity is higher than 0, then lookup column a and sum all the returned lookup values?
sheet 1
column a, column b
corn, 100
wheat, 40
Then lookup ingredients in column a and return this week's price from sheet 2 and sum all returned prices
Sheet2
Ingredient, Last week price, This week price, next week price
corn, 6.80, 7.00, 7.10
wheat, 6.5, 6.8, 7
So I want to sum all ingredient prices if column b is greater than 0
sheet 1
column a, column b
corn, 100
wheat, 40
Then lookup ingredients in column a and return this week's price from sheet 2 and sum all returned prices
Sheet2
Ingredient, Last week price, This week price, next week price
corn, 6.80, 7.00, 7.10
wheat, 6.5, 6.8, 7
So I want to sum all ingredient prices if column b is greater than 0