sumproduct with a look up?

gobblechops

New Member
Joined
Apr 27, 2017
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to multiply the inverse of the first table (i.e 0% = 100%, 30% = 70%) by looking up the corresponding cell in the second table (i.e lookup the letter for the row and the month for the column), then sum the total for each of the letters. Below are the two tables and then what the totals should be. I need the formula that goes into the final total cells, please. Thank you.

janfebmaraprmayjunjulaugsepoctnovdec
a0%0%0%0%0%0%0%0%0%0%0%0%
b100%100%100%0%0%0%0%0%0%0%0%0%
c0%0%0%25%25%50%50%25%25%0%0%0%
d30%30%30%30%10%0%0%0%0%0%0%0%
e30%30%0%0%0%0%0%0%0%0%0%0%
f0%0%0%0%0%0%0%0%0%0%0%0%
g50%25%25%0%0%0%0%0%0%50%25%25%

janfebmaraprmayjunjulaugsepoctnovdec
a5,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,000
b7,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,000
c3,5003,5003,5003,5003,5003,5003,5003,5003,5003,5003,5003,500
d4,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,000
e8,0008,0008,0008,0008,0008,0008,0008,0008,0008,0008,0008,000
f8,5008,5008,5008,5008,5008,5008,5008,5008,5008,5008,5008,500
g6,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,000

Total
a60,000
b63,000
c35,000
d42,800
e91,200
f102,000
g60,000
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Is this what you need?
Book1
ABCDEFGHIJKLM
1janfebmaraprmayjunjulaugsepoctnovdec
2a0%0%0%0%0%0%0%0%0%0%0%0%
3b100%100%100%0%0%0%0%0%0%0%0%0%
4c0%0%0%25%25%50%50%25%25%0%0%0%
5d30%30%30%30%10%0%0%0%0%0%0%0%
6e30%30%0%0%0%0%0%0%0%0%0%0%
7f0%0%0%0%0%0%0%0%0%0%0%0%
8g50%25%25%0%0%0%0%0%0%50%25%25%
9
10janfebmaraprmayjunjulaugsepoctnovdec
11a5,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,000
12b7,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,000
13c3,5003,5003,5003,5003,5003,5003,5003,5003,5003,5003,5003,500
14d4,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,000
15e8,0008,0008,0008,0008,0008,0008,0008,0008,0008,0008,0008,000
16f8,5008,5008,5008,5008,5008,5008,5008,5008,5008,5008,5008,500
17g6,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,000
18
19
20a60,000.00
21b63,000.00
22c35,000.00
23d42,800.00
24e91,200.00
25f102,000.00
26g60,000.00
Sheet1
Cell Formulas
RangeFormula
B20:B26B20=SUMPRODUCT((1-INDEX($B$2:$M$8,MATCH(A20,$A$2:$A$8,0),0))*INDEX($B$11:$M$17,MATCH(A20,$A$11:$A$17,0),0))
 
Upvote 0
Solution
try
=SUM((1-INDEX($B$2:$M$8,MATCH(A20,$A$2:$A$8,0),0))*INDEX($B$11:$M$17,MATCH(A20,$A$11:$A$17,0),0))
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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