Unsure how to add additional vlookup into sumifs formula

SMExcel

New Member
Joined
Jun 29, 2015
Messages
13
Hi All,

I am currently calculating the adjustment for change in % for value of property based on postcode and whether its a house or unit. The formula I currently have for the values in Adjustment column below are:
=D3*SUMIFS($E$12:$E$17,$B$12:$B$17,B3,$C$12:$C$17,C3)
=D4*SUMIFS($E$12:$E$17,$B$12:$B$17,B4,$C$12:$C$17,C4)
=D5*SUMIFS($E$12:$E$17,$B$12:$B$17,B5,$C$12:$C$17,C5)

I am now trying to integrate an additional check in place so that there must be > 10 sales in order for the change in % to apply. For example, E3 should be 0, as there were only 8 sales for a house for post code 3500.

My thought process is that an additional vlookup is required to search for the type and postcode against whether there were > 10 sales, but i'm not sure how this can be integrated into the current formula.

Any comments would be greatly appreciated.


Property NameTypePostcodeCost BaseAdjustment
Property 1House
3500​
200000​
7000​
Property 2Unit
3400​
300000​
3750​
Property 3House
3300​
400000​
32000​
Data - Increase in Market Value
TypePostcode# of SalesChange in %
House
3500​
8​
3.50%​
Unit
3500​
15​
2.00%​
House
3400​
12​
4.00%​
Unit
3400​
55​
1.25%​
House
3300​
30​
8.00%​
Unit
3300​
6​
1.00%​
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
in cell A12 type =B12&"-"&C12
copy down to bottom of lookup data
in cell E3 type =IF(VLOOKUP(B3&"-"&C3,$A$11:$D$17,4,FALSE)<10,0,D3*SUMIFS($E$12:$E$17,$B$12:$B$17,B3,$C$12:$C$17,C3))
 
Upvote 0
i'm not sure how this can be integrated into the current formula.
You could have done so like this (without the helper column).

SMExcel 2020-07-01 1.xlsm
ABCDE
1Property NameTypePostcodeCost BaseAdjustment
2
3Property 1House35002000000
4Property 2Unit34003000003750
5Property 3House330040000032000
6
7
8Data - Increase in Market Value
9
10TypePostcode# of SalesChange in %
11
12House350083.50%
13Unit3500152.00%
14House3400124.00%
15Unit3400551.25%
16House3300308.00%
17Unit330061.00%
Sheet3
Cell Formulas
RangeFormula
E3:E5E3=D3*SUMIFS($E$12:$E$17,$B$12:$B$17,B3,$C$12:$C$17,C3)*(SUMIFS($D$12:$D$17,$B$12:$B$17,B3,$C$12:$C$17,C3)>10)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
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