I want a formula that works similar to VLOOKUP, but instead of returning one value I want a sum of all values in a column that match the VLOOKUP CRITERIA.
EXP:
A B
1 Red 4
2 Blue 5
3 Green 4
4 Green 3
5 Red 4
6 Green 5
7 Blue 7
I want a sum of all column B's that equal "Green" in column A.
Seems like there should be a simple solution I just don't know it right off.
It seems like I could use SUM, OFFSET, and IF function I just can't tie it together.
EXP:
A B
1 Red 4
2 Blue 5
3 Green 4
4 Green 3
5 Red 4
6 Green 5
7 Blue 7
I want a sum of all column B's that equal "Green" in column A.
Seems like there should be a simple solution I just don't know it right off.
It seems like I could use SUM, OFFSET, and IF function I just can't tie it together.