magemaester
New Member
- Joined
- Dec 17, 2017
- Messages
- 10
Hi guys,
I want to obtain the sumproduct of the following two arrays, essentially 1 x 0.2 + 2 x 0.1 + 3 x 0.3.
A 1
B 2
C 3
B 0.1
A 0.2
C 0.3
SUMPRODUCT would work neatly if the first column in both these arrays were identically ordered (i.e. ABC and ABC). But because they're not so, it doesn't work. The actual spreadsheet I'm manipulating has hundreds of rows where the two arrays are not identically ordered. I've tried searching for solutions on similar topics but I haven't been able to find a solution thus far. Is anyone able to help? I have a feeling that it isn't as simple as it looks and it might required nested IFs and index matches.
Many thanks!
I want to obtain the sumproduct of the following two arrays, essentially 1 x 0.2 + 2 x 0.1 + 3 x 0.3.
A 1
B 2
C 3
B 0.1
A 0.2
C 0.3
SUMPRODUCT would work neatly if the first column in both these arrays were identically ordered (i.e. ABC and ABC). But because they're not so, it doesn't work. The actual spreadsheet I'm manipulating has hundreds of rows where the two arrays are not identically ordered. I've tried searching for solutions on similar topics but I haven't been able to find a solution thus far. Is anyone able to help? I have a feeling that it isn't as simple as it looks and it might required nested IFs and index matches.
Many thanks!