Excel
March 3rd, 2006 by eyal | Filed under Techie. |
Print This Post
I’m trying to do something with Excel and was wondering if someone out there knows how to do this.
In a table, look up a value in cells in column A, for every occurence of value X in column A lookup value on a column B same row cell.
So if X shows up in A3 and A5 and A20 then I want to add the values from B3 and B5 and B20 and post the sum to some other cell, say E1.
Any ideas?


look for help on the SUMIF function.
That’s exactly what I needed. Thanks Richard.
Look up sumproduct:
=SUMPRODUCT((B4:B43)*(A4:A43=”X”))
hi gab, thanks. I’ve got it working with the SUMIF but will keep this in mind when trying other stuff.
cheers
eyal