W
Wild Bill
At least it is to me - now I humbly beseech your magic 
A1 to A10 contain 10 unique letters, e.g. A,Q,E...
B1 to B10 contain 10 unique letters, e.g. Z,B,A...
C1 to C100 contain nonunique letters, e.g. E,E,F,E,Q,Q...
D1 to D100 contain nonunique letters, e.g. A,T,F,A,X,B...
E1 to E100 contain values, e.g. 9,1,3,5,7,2...
In pseudo logic, for x = 1 to 10 I want to find each Ax:Bx pairing in
Cy
y and sum E when matched. So I want to sum Ey for the rows where [Cy
is "A" and Dy is "Z"], plus each Ey where [Cy="Q" and Dy="B"], etc. for
the sample data above. Thus for what I presented, the C
matches to
A:B give the solution 2 + 9 + 5.
Of course this could be done systematically in VBA, but to do in Excel I
can't escape adding a helper column F1:F10 and summing that. I've tried
all sorts of SUM() and SUMPRODUCT and ISNUMBER(MATCH) and coercion and
array formula entry and it just isn't happening for me. I've read scores
of Aladin solutions and can't find one to fit this exactly.
I see it as a 3 term SUMPRODUCT or SUM(x*y*z) or SUM(IF...; with a
simple 3rd term ",E$1:E$100)" . --(ISNUMBER(MATCH seemed most promising
and I tried to run through every permutation. Just for the A and C part
(B and D are analogous) I've homed in on (A1:A$10,C$1:C$100), adding $
in A1, reversing the A and C order, removing the A$10 ... it laughs at
everything I throw at it. Please make mincemeat of this troublesome
beast


A1 to A10 contain 10 unique letters, e.g. A,Q,E...
B1 to B10 contain 10 unique letters, e.g. Z,B,A...
C1 to C100 contain nonunique letters, e.g. E,E,F,E,Q,Q...
D1 to D100 contain nonunique letters, e.g. A,T,F,A,X,B...
E1 to E100 contain values, e.g. 9,1,3,5,7,2...
In pseudo logic, for x = 1 to 10 I want to find each Ax:Bx pairing in
Cy

is "A" and Dy is "Z"], plus each Ey where [Cy="Q" and Dy="B"], etc. for
the sample data above. Thus for what I presented, the C

A:B give the solution 2 + 9 + 5.
Of course this could be done systematically in VBA, but to do in Excel I
can't escape adding a helper column F1:F10 and summing that. I've tried
all sorts of SUM() and SUMPRODUCT and ISNUMBER(MATCH) and coercion and
array formula entry and it just isn't happening for me. I've read scores
of Aladin solutions and can't find one to fit this exactly.
I see it as a 3 term SUMPRODUCT or SUM(x*y*z) or SUM(IF...; with a
simple 3rd term ",E$1:E$100)" . --(ISNUMBER(MATCH seemed most promising
and I tried to run through every permutation. Just for the A and C part
(B and D are analogous) I've homed in on (A1:A$10,C$1:C$100), adding $
in A1, reversing the A and C order, removing the A$10 ... it laughs at
everything I throw at it. Please make mincemeat of this troublesome
beast

