Sum Product, Index Match with Multipler effect

dmessmer

New Member
Joined
Mar 27, 2017
Messages
6
Hello all.. thanks for the help on this one, it has me stumped.

I'd like to do lookup where, based upon a cell, it checks a range of cells to see if they are equal to their corresponding cell, and if they are equal then it accounts for the 'multiplier effect'. Probably best shown in an example.

A
B
C
D
E
F
G
H
1
Fruit Answers
Joe Smith
Joe Smith Multiplier
Cate Reed
Cate Reed Multiplier
Scores
Points
2
Apple
Apple
1
Apple
5
Joe Smith
15
3
Orange
Orange
2
Banana
3
Cate Reed
5
4
Banana
Banana
4
Orange
1
5
Strawberry
Strawberry
5
Raspberry
2
6
Raspberry
Raspberry
3
Strawberry
4

<tbody>
</tbody>

Cell H2 should reference cell G2 and find 'Joe Smith' in cell C1. Then based upon this it should look at C2-C6 to see if it matches A2-A6. If any of those cells match, then it should add up the corresponding value in cells D2-D6. So since Joe Smith's answers matched all of the correct answers, D2-D6 are summed to equal 15.

H3 references Cate Reed & sees that only the only correct answer is E2. Therefore it only returns F2.

Really appreciate any help you're able to provide on this one!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Based on your sample data, try this...
=SUMPRODUCT(--($A$2:$A$6=INDEX($C$2:$F$6,,MATCH(G2,$C$1:$F$1,0))),INDEX($C$2:$F$6,,MATCH(G2,$C$1:$F$1,0)+1))
copied down
 
Upvote 0
Ford, works like a charm!

One question though..

I thought I would be able to figure this part out once getting the main portion of the solution but I was mistaken... For those multipliers, if I actually want it to add up (X-the numbers posted in D2-D6).. is it possible to add this in?

For example: For that entry, If I'm inputting a vote of confidence instead of a multiplier, I would like the most confident entry (#1) to be worth the most amount of points (6-1). My least confident entry is #5 . So that one would be worth the least amount of points (6-5).
 
Upvote 0
So for each person there are 5 entries total, so the maximum an entry can be worth is 5 points. H2 would recognize Joe's entries as worth the following points. D2 = 5, D3 = 4, D4 = 2, D5 = 1, D3 = 3. Cate's correct answers would be F2 = 1.


Basically I need to enter in a measure of how confident a person is with that answer. Ranging from most confident (1) to least confident (5). If they're most confident and correct that answer is worth 5 points. If least confident and correct that answer is worth only 1 point. My thought was just taking a hard entered 6 - their entry. e.g. D2's 'worth' would be: 6-1 = 5. But I'm not sure if that works with the below formula.
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,321
Members
449,154
Latest member
pollardxlsm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top