Help with formula - lookup results of one formula to a table and amend results as required

%3CLINGO-SUB%20id%3D%22lingo-sub-2787712%22%20slang%3D%22en-US%22%3EHelp%20with%20formula%20-%20lookup%20results%20of%20one%20formula%20to%20a%20table%20and%20amend%20results%20as%20required%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2787712%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20built%20out%20a%20mortgage%20calculator%20spreadsheet%20to%20have%20all%20sorts%20of%20variables%20and%20customised%20to%20what%20I%20need.%20There's%20one%20final%20piece%20of%20the%20puzzle%20that%20I%20just%20can't%20work%20out.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2%20of%20the%20many%20columns%20I've%20built%20are%20purchase%20price%20and%20stamp%20duty%20columns.%20The%20cells%20in%20those%20columns%20already%20have%20existing%20formulas%20in%20them%20to%20calculate%20those%20amounts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20found%20the%20stamp%20duty%20calculation%20formula%2C%20however%20there%20is%20a%20specific%20concession%20for%20purchase%20prices%20of%20between%20%24600%2C001%20and%20%24750%2C000.%20I%20cannot%20find%20the%20formula%20they%20use%20for%20these%20figures%2C%20only%20their%20own%20online%20calculator%20and%20a%20table%20of%20examples.%20Nevertheless%2C%20using%20their%20calculator%20I%20put%20a%20concession%20table%20together%20with%20results%20for%20600-750k%20in%2010k%20increments.%20This%20table%20lives%20in%20the%20same%20sheet%20as%20the%20main%20calculator%20I%20built.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20current%20formula%20in%20the%20'stamp%20duty'%20column%20is%26nbsp%3B%3DSUM(%5B%40%5BPurchase%20price%5D%5D-130000)*0.06%2B2870%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20can't%20work%20out%20is%20how%20to%20set%20an%20if%20condition%20on%20the%20result%20of%20that%20formula.%20Basically%2C%20if%20the%20%22purchase%20price%22%20value%20in%20the%20stamp%20duty%20formula%20matches%20one%20of%20the%20values%20in%20the%20concession%20table%20column%201%2C%20then%20I%20want%20it%20to%20take%20the%20number%20from%20the%20concession%20table%20column%202%20on%20the%20same%20row%20as%20the%20matched%20value.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EE.g.%20Purchase%20price%20%3D%20700k%2C%20the%20stamp%20duty%20formula%20recognises%20this%20value%20is%20in%20the%20concession%20table%20and%20instead%20of%20using%20the%20standard%20calc%2C%20it%20refers%20to%20the%20concession%20stamp%20duty%20table%20to%20get%20the%20appropriate%20value.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sure%20it's%20possible%2C%20but%20it's%20well%2C%20well%20above%20my%20level%20of%20knowledge%20for%20excel!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20any%20help%2C%20I've%20attached%20a%20screenshot%20to%20hopefully%20make%20more%20sense%20of%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2787712%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2787760%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20formula%20-%20lookup%20results%20of%20one%20formula%20to%20a%20table%20and%20amend%20results%20as%20required%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2787760%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1167482%22%20target%3D%22_blank%22%3E%40xtian88%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhy%20invent%20something%20that%20already%20exists%3F%20%3A))%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftemplates.office.com%2Fen-us%2Fmortgage-loan-calculator-tm10000110%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMortgage%20Loan%20Calculator%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EGet%20a%20quick%20and%20clear%20picture%20of%20what%20it%20will%20take%20to%20pay%20off%20your%20mortgage%20with%20this%20accessible%20mortgage%20loan%20calculator%20template.%20This%20professional%20mortgage%20loan%20calculator%20template%20includes%20loan%20details%2C%20key%20statistics%2C%20and%20an%20amortization%20table.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20will%20find%20more%20Templates%20in%20the%20upper%20Link.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20I%20could%20help%20you%20with%20these%20information%20%2F%20links.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolinoDE%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

I've built out a mortgage calculator spreadsheet to have all sorts of variables and customised to what I need. There's one final piece of the puzzle that I just can't work out. 

 

2 of the many columns I've built are purchase price and stamp duty columns. The cells in those columns already have existing formulas in them to calculate those amounts.

 

I've found the stamp duty calculation formula, however there is a specific concession for purchase prices of between $600,001 and $750,000. I cannot find the formula they use for these figures, only their own online calculator and a table of examples. Nevertheless, using their calculator I put a concession table together with results for 600-750k in 10k increments. This table lives in the same sheet as the main calculator I built.

 

The current formula in the 'stamp duty' column is =SUM([@[Purchase price]]-130000)*0.06+2870

 

What I can't work out is how to set an if condition on the result of that formula. Basically, if the "purchase price" value in the stamp duty formula matches one of the values in the concession table column 1, then I want it to take the number from the concession table column 2 on the same row as the matched value.

 

E.g. Purchase price = 700k, the stamp duty formula recognises this value is in the concession table and instead of using the standard calc, it refers to the concession stamp duty table to get the appropriate value. 

 

I'm sure it's possible, but it's well, well above my level of knowledge for excel! 

 

Thank you in advance for any help, I've attached a screenshot to hopefully make more sense of it.

 

 

2 Replies

@xtian88 

 

Why invent something that already exists? :))

Mortgage Loan Calculator

Get a quick and clear picture of what it will take to pay off your mortgage with this accessible mortgage loan calculator template. This professional mortgage loan calculator template includes loan details, key statistics, and an amortization table.

 

You will find more Templates in the upper Link.

 

Hope I could help you with these information / links.

 

NikolinoDE

I know I don't know anything (Socrates)

 

@xtian88 Created a small mock-up based on your screenshot (see attached). Up to you to decide if this is what need and, if so, to get the principle to work in your real schedule.

 

The formula for Total true cost looks like this:

=IF(
    AND(
         [@[Purchase price]]>=MIN(tblConncessions[Dutiable]),
         [@[Purchase price]]<=MAX(tblConncessions[Dutiable])
    ),
    INDEX(tblConncessions[Duty],MATCH([@[Purchase price]],
    tblConncessions[Dutiable],1)),([@[Purchase price]]-130000)*0.06+2870
)