+ Reply to Thread
Results 1 to 6 of 6

MEGA FORMULA

  1. #1
    Ray
    Guest

    MEGA FORMULA

    I am trying to create a formula for which I need to calculate a discount
    percentage based on supplier spend. For example, a supplier may receive a
    discount of .25% based on spend between $1.00 and $100,000.00, .31% based on
    spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
    spend between $ 150,001.00 and $ 200,000.00. We have been trying several
    options but it doesn't seem to be working.

  2. #2
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    =IF(A1<=100000,A1-A1*0.025,IF(AND(A1>100000,A1<=150000),A1-A1*0.031,IF(AND(A1>150000,A1<=200000),A1-A1*0.038,"Amount > 200000")))
    Google is your best friend!

  3. #3
    Bob Phillips
    Guest

    Re: MEGA FORMULA

    Create a table of

    1 .25%
    100000 .31%

    etc., in M1:N10 say

    and then use

    =VLOOKUP(K1,M1:N10,2,TRUE)
    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > I am trying to create a formula for which I need to calculate a discount
    > percentage based on supplier spend. For example, a supplier may receive a
    > discount of .25% based on spend between $1.00 and $100,000.00, .31% based

    on
    > spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
    > spend between $ 150,001.00 and $ 200,000.00. We have been trying several
    > options but it doesn't seem to be working.




  4. #4
    Domenic
    Guest

    Re: MEGA FORMULA

    Assuming that A2 contains the amount the supplier spent, try...

    =IF(A2>200000,"Exceeds
    200,000",LOOKUP(A2,{1,100001,150001},{0.0025,0.0031,0.0038}))

    Hope this helps!

    In article <[email protected]>,
    Ray <[email protected]> wrote:

    > I am trying to create a formula for which I need to calculate a discount
    > percentage based on supplier spend. For example, a supplier may receive a
    > discount of .25% based on spend between $1.00 and $100,000.00, .31% based on
    > spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
    > spend between $ 150,001.00 and $ 200,000.00. We have been trying several
    > options but it doesn't seem to be working.


  5. #5
    David Biddulph
    Guest

    Re: MEGA FORMULA

    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    >I am trying to create a formula for which I need to calculate a discount
    > percentage based on supplier spend. For example, a supplier may receive a
    > discount of .25% based on spend between $1.00 and $100,000.00, .31% based
    > on
    > spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
    > spend between $ 150,001.00 and $ 200,000.00. We have been trying several
    > options but it doesn't seem to be working.


    =A1-(0.0025*MIN(A1,100000)+0.0031*MIN(MAX(0,A1-100000),50000)+0.0038*(MIN(MAX(0,A1-150000),50000)))
    --
    David Biddulph



  6. #6
    Arvi Laanemets
    Guest

    Re: MEGA FORMULA

    Hi

    Discount percent is
    =(0.25+(A1>100000)*0.06+(A1>150000)*0.07+(A1>200000)*x)

    Arvi Laanemets


    "Ray" <[email protected]> wrote in message
    news:[email protected]...
    > I am trying to create a formula for which I need to calculate a discount
    > percentage based on supplier spend. For example, a supplier may receive a
    > discount of .25% based on spend between $1.00 and $100,000.00, .31% based

    on
    > spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
    > spend between $ 150,001.00 and $ 200,000.00. We have been trying several
    > options but it doesn't seem to be working.




+ 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