sdetwiler19
New Member
- Joined
- Jan 30, 2016
- Messages
- 3
I'm trying to perform a SUMPRODUCT of 2 columns where each value is text, but those text values correspond to numbers in a lookup table. There's an easy way to do this using hidden columns that perform the VLOOKUP part, but I'm trying to avoid any hidden columns.
I know that the following formula doesn't work, but it best illustrates what I'm trying to do:
=SUMPRODUCT(VLOOKUP($C$10:$C$24,PRIORITY_SCORE,2,FALSE)*VLOOKUP($E$10:$E$24,RATING_SCORE,2,FALSE))
Here's an example of the data:
<tbody>
</tbody>
The PRIORITY_SCORE reference looks like this:
<tbody>
</tbody>
The RATING_SCORE reference looks like this:
<tbody>
</tbody>
So the expected output would be as follows:
<tbody>
</tbody>
Formula output = 23
Any thoughts or suggestions would be much appreciated!
I know that the following formula doesn't work, but it best illustrates what I'm trying to do:
=SUMPRODUCT(VLOOKUP($C$10:$C$24,PRIORITY_SCORE,2,FALSE)*VLOOKUP($E$10:$E$24,RATING_SCORE,2,FALSE))
Here's an example of the data:
C | E |
Critical | Exceeds |
Critical | Meets |
High | Limited |
Medium | None |
<tbody>
</tbody>
The PRIORITY_SCORE reference looks like this:
Low | 1 |
Medium | 2 |
High | 3 |
Critical | 4 |
<tbody>
</tbody>
The RATING_SCORE reference looks like this:
None | 0 |
Limited | 1 |
Meets | 2 |
Exceeds | 3 |
<tbody>
</tbody>
So the expected output would be as follows:
C | E | product |
Critical = 4 | Exceeds = 3 | 12 |
Critical = 4 | Meets = 2 | 8 |
High = 3 | Limited = 1 | 3 |
Medium =2 | None =0 | 0 |
<tbody>
</tbody>
Formula output = 23
Any thoughts or suggestions would be much appreciated!