+ Reply to Thread
Results 1 to 4 of 4

[SOLVED] IF a value is greater than X, do this calculation - but how?

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    [SOLVED] IF a value is greater than X, do this calculation - but how?

    I'm trying to write a worksheet that produces an estimate of conveyancing costs for a client where the fees and third-party charges are in part based on the purchase price of a property.

    As part of it, I want to include a cell showing the Land Tax applicable to the transaction, which will calculate the same based on the Land Tax thresholds, which are:

    Rate: Purchase price:
    Zero - Up to £125,000
    1% - Over £125,000 to £250,000
    3% - Over £250,000 to £500,000
    4% - Over £500,000 to £1 million
    5% - Over £1 million to £2 million

    I have been able to do 'IF' functions to insert straight figures in respect of other costs which are based on the purchase price, but how do I get Excel to perform a calculation within 'IF' (maybe I don't use 'IF'?)

    This is the best I can come up with. I know it's wrong:

    (G16 is the purchase price)

    =IF(G16>500001,"=g16*4%",IF(G16>250001,"=g16*3%", IF(G16>125000,"=g16*1%",IF(G16<125000"=g16*0%","£0.00"))))

    All that happens (and I can see why) is the text, e.g. "=g16*4%" appears in the cell. I know there must be a way, and I apologise if this is a really stupid question.

    Any help you can offer would be greatly appreciated.
    Last edited by emza; 07-11-2012 at 11:18 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: IF a value is greater than X, do this calculation - but how?

    The " in your formula indicates text not numbers

    Try this:

    =IF(G16>1000000,G16*0.05,IF(G16>500000,G16*0.04,IF(G16>250000,G16*0.03,IF(G16>125000,G16*0.01,0))))
    Click on star (*) below if this helps

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: IF a value is greater than X, do this calculation - but how?

    Thank you! It works!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF a value is greater than X, do this calculation - but how?

    Hi and welcome to the forum.

    You don't need "" foe numbers. Only for text.

    Try

    =IF(G16>500001,=g16*4%,IF(G16>250001,=g16*3%, IF(G16>125000,g16*1%,IF(G16<125000,g16,0))))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1