+ Reply to Thread
Results 1 to 2 of 2

Proportional result linked to ranges of values.

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    Milano, Italy
    MS-Off Ver
    Excel 2003
    Posts
    11

    Proportional result linked to ranges of values.

    Dear all,

    I would like to achieve the following:

    M= minimum Stock
    Res= Quantity in Stock after sales
    In= Quantity to reorder


    IF Res= to between 0- 25% of M than In= M- 0
    IF Res= to between 25- 50% of M than In= M-15% of M
    IF Res= to between 50- 75% of M than In= M-30% of M
    IF Res= to between 75%-100% of M than In= M-60% of M

    Example:

    M= 30

    =IF(D4<???,"30",IF(D4????,"45", IF(D4<????,"41",IF(D4<????,"42"))))


    Thanks in advance for you help. Don't hesitate asking further details.

    Best regards.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Proportional result linked to ranges of values.

    =IF(AND(A1>(0*B1),A1<=(0.25*B1)),B1-0,IF(AND(A1>(0.25*B1),A1<=(0.5*B1)),B1-(0.15*B1),IF(AND(A1>(0.5*B1),A1<=(0.75*B1)),B1-(0.3*B1),IF(AND(A1>(0.75*B1),A1<=(1*B1)),B1-(0.6*B1),"Error"))))

    Assuming A1=Res and B1 = M
    Elegant Simplicity............. Not Always

+ 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