How to apply IF statement to multiple Start and End Ranges - Property Valuation

fakeafaik

New Member
Joined
Mar 20, 2015
Messages
5
Hello,
Cost of Construction£50,000,000
Start_RangeEnd_RangeAdjustment (%)Contract Size Adjustment
£0£500,0000.100GREEN CELL
£500,001£585,0000.090
£585,001£670,0000.080
£670,001£750,0000.075
£750,001£1,000,0000.060
£1,000,001£1,250,0000.050
£1,250,001£1,500,0000.040
£1,500,001£1,750,0000.030
£1,750,001£2,000,0000.020
£2,000,001£2,500,0000.010
£2,500,001£2,999,9990.005
£3,000,000£3,000,0000.000
£3,000,001£3,500,000-0.005
£3,500,001£4,000,000-0.010
£4,000,001£4,500,000-0.015
£4,500,001£5,000,000-0.020
£5,000,001£5,500,000-0.025
£5,500,001£6,000,000-0.030
£6,000,001£6,500,000-0.035
£6,500,001£7,000,000-0.040
£7,000,001£7,500,000-0.045
£7,500,001£8,000,000-0.050
£8,000,001£8,750,000-0.055
£8,750,001£9,500,000-0.060
£9,500,001£10,250,000-0.065
£10,250,001£11,000,000-0.070
£11,000,001£12,500,000-0.075
£12,500,001£14,000,000-0.080
£14,000,001£15,500,000-0.085
£15,500,001£17,000,000-0.090
£17,000,001£20,000,000-0.095
£20,000,001£1,000,000,000-0.100

<tbody>
</tbody>

<tbody>
</tbody>


I've read through many help pages trying to solve my problem, but to be honest I don't think I am correctly wording what I am trying to do.

I've attached a picture to help illustrate my query. The purpose of this part of the spreadsheet is to select an appropriate contract size adjustment for a property contractor's valuation.

The top cell contains a cost of construction (coc), which is variable depending on other figures above this.

Taking the first row as an example, if the coc is between £0 and £500,000 then the coc should be adjusted by 0.100. I would like the green cell to read +10% (or even 10%).

Taking a middle row as an example, if the coc is £4,200,000 then the coc should be adjusted by -0.015. I would like the green cell to read -1.5%.

Taking the bottom row as an example, if the coc is over £20,000,000 then the coc should be adjusted by -0.100. I would like the green cell to read -10%.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Thanks for the reply, but I am trying to make to green cell select a figure based on the different ranges.

For example, if the Cost of Construction is £5,200,000 then the green cell will select -0.025 from the adjustment list. I then know I can format it to a percentage.
 
Upvote 0
So everything in the "Green Cell" revolves around the CoC? If so...

Data Range
A​
B​
C​
D​
E​
1​
Cost of Construction​
£5,200,000​
2​
3​
Start_Range​
End_Range​
Adjustment (%)​
Contract Size Adjustment​
4​
£0​
£500,000​
0.1​
-2.5%​
D4:=LOOKUP($C$1,$A$4:$B$35,$C$4:$C$35)​
5​
£500,001​
£585,000​
0.09​
-2.5%​
6​
£585,001​
£670,000​
0.08​
-2.5%​
 
Upvote 0
Thanks Jeff. I can see you have that working in your spreadsheet, but if I put that into my spreadsheet it doesn't work.

I'm a pretty basic excel user, so do I need to format the cell to insert a LOOKUP formula? Also, I don't understand where the £0.67 , £23.55 come from...

I really appreciate your help.

Kind regards,

Michael
 
Upvote 0
Hi Micheal,

Sorry I messed up the formula. Should be =LOOKUP($C$1,$A$4:$A$35,$C$4:$C$35)

I'm a pretty basic excel user, so do I need to format the cell to insert a LOOKUP formula?

You don't have to format the cell of the LOOKUP formula, you just plugged it in the cell.

Also, I don't understand where the £0.67 , £23.55 come from...

I don't know where those numbers come from either. I don't seem them in the data you posted.
 
Upvote 0
Hi there,

Do you actually want "The Green Cell" on each row, or only on the same row as 0-500000 (as in your example), or only on the row for which the CoC is applicable (i.e. a CoC of 550,000 to generate "the green cell" on second row)?

Maybe it's enough to get the percentage on a completely separate cell named "Adjustment" or something like that?
 
Upvote 0
Thanks folks.

I don't need "The Green Cell" on each row. I only need it to tell me what percentage adjustment I should use for the Cost of Construction.

Essentially the number in the adjustment column is the correct contract size adjustment. But the Cost of Construction will be changing throughout. So I would like the Contract Size Adjustment % to automatically adjust when the Cost of Construction is changed. I hope that makes sense.
 
Upvote 0
If I understand you right - this can be done very simply with a "loose" vlookup. By using "approximate match" versus "exact match", if it doesn't find the exact value you entered, it returns the next lowest value. This is useful because then all we are concerned with is asking what is the next starting point for a new adjustment %.

You don't even need the "End Range"... just a list of when you want new breakpoints/Start Ranges... Hows this... I've added multiple lines to show how it works with various contract values but there's nothing stopping you from just having one.

DJeNAAg.png
 
Upvote 0
That works! Thank you so much Skeeve. Out of interest, I can see what E4,A:B is doing, but what does the '2' do in that vlookup?

This should definitely do me for now. The next step is for me to try & do another version of this, but with more accurate interpolation between the values. I've spoke to a colleague who said it is quite tricky because it isn't a straight line interpolation, but a stepped rise.

I really appreciate the help on this part though. Many thanks again folks!
 
Upvote 0

Forum statistics

Threads
1,215,847
Messages
6,127,270
Members
449,372
Latest member
charlottedv

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