Hi, Rob
First: You need the type of formula entered below.
=SUMPRODUCT(--(A1:A10=$A$1),B1:B10)
Second: It works by checking the values in one column and adding corresponding values in another column. Those 2 columns need to be listed individually. Consequently, you can't reference a multi-column range (TAB2 or A1:B10).
Third: If the Tab2 range is on a different sheet, then you'll need to reference that sheet in the formula:
=SUMPRODUCT(--(Sheet2!A1:A10=$A$1),Sheet2!B1:B10)
OR
You could create 2 named ranges on Sheet2 and reference them:
=SUMPRODUCT(--(Tab2FirstCol=$A$1),Tab2SecondCol)
Am I helping, yet?
Ron
Bookmarks