+ Reply to Thread
Results 1 to 5 of 5

Multiplying a number over a certain range

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    5

    Multiplying a number over a certain range

    Hi guys

    Another query

    If i had a total of 100 apples and the price was £40 and the price is £40 for however how many apples below 100. But once over 100 apples its 0.20p per apple.
    How would i put that as a formula?

    Many Thanks Guys

  2. #2
    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: Multiplying a number over a certain range

    Perhaps

    =IF(A1<=100,A1*40,((A1-100)*0.2)+A1)
    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.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Multiplying a number over a certain range

    Given a value x indicating a quantity of apples

    The amount over 100 would be (x-100)
    So

    IF(x < = 100, x*40.00, 40*100+(x-100)*0.02)

    Postscript: Apples are £40 each??????? Blimey, remind me not to go to your greengrocers! :-)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    02-06-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Multiplying a number over a certain range

    Not working as it should be £40.00 however many under 100.

    Cheers

  5. #5
    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: Multiplying a number over a certain range

    Do you mean?

    =IF(A1<=100,40,((A1-100)*0.2)+A1)

+ 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