Sumproduct with a lookup nested inside

WorthJ

New Member
Joined
May 4, 2018
Messages
14
Office Version
  1. 2013
Platform
  1. Windows
Hello,

I've spent quite a while trying to work out how to use sum product with a look up nested inside it.

I'm trying to calculate the annual sum of payments received by a group. People in the group receive payments either weekly or monthly.

I receive a regular report which contains:
  • how much the payment is (Amount awarded (£))
  • how often someone is receiving payment (Frequency)


[TABLE="width: 500"]
<tbody>[TR]
[TD]Amount awarded (£)[/TD]
[TD]Frequency[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]Monthly[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]Weekly[/TD]
[/TR]
[TR]
[TD]200[/TD]
[TD]Monthly[/TD]
[/TR]
[TR]
[TD]60[/TD]
[TD]Weekly[/TD]
[/TR]
[TR]
[TD]70[/TD]
[TD]Weekly[/TD]
[/TR]
</tbody>[/TABLE]

I'm trying to work out the total awarded for the whole year for the whole group.

[TABLE="width: 250"]
<tbody>[TR]
[TD]Frequency[/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]Weekly[/TD]
[TD]52[/TD]
[/TR]
[TR]
[TD]Monthly[/TD]
[TD]12[/TD]
[/TR]
</tbody>[/TABLE]

I've created this lookup table and I think I should be using the sumproduct formula. But I'm not sure how to nest some kind of lookup which returns an array.

Thanks in advance for your help.

WJ :-)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi,

You really don't need SUMPRODUCT or a Lookup Table if there's only two variables (i.e. Weekly, Monthly):


Book1
ABCD
1Amount awarded (£)FrequencyAnnual Total
2100Monthly11400
320Weekly
4200Monthly
560Weekly
670Weekly
Sheet687
Cell Formulas
RangeFormula
D2=SUMIF(B2:B6,"Weekly",A2:A6)*52+SUMIF(B2:B6,"Monthly",A2:A6)*12


Change/adjust cell references/range as needed.
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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