+ Reply to Thread
Results 1 to 7 of 7

Distribute proportionately

  1. #1
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Distribute proportionately

    Basing on Target and Actual data i would like to measure score between 0 to 150.

    For eg. cell A1 is for TARGET which contain 95% and cell B1 is for ACTUAL which contain 96%. I want score in C1 cell.

    logic in measuring score are as follows.

    if A1 (TARGET)=B1 (ACTUAL), then score 100
    if B1=100% then score 150
    if B1=0% then score 0

    otherwise score will be distributed proportionately.

    ie. =if(B1=0,0,if(A1=B1,100,..........))

    i cannot set any formula so that score can be distributed proportionately, for which if B1=100% then score will be 150 and so on.

    pls help to set such complete the formula

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Distribute proportionately

    I don't understand this line:
    otherwise score will be distributed proportionately.
    Proportionately over what range of cells according to what criteria?

    To do just the first three, =IF(A1=B1,100,IF(B1=1,150,IF(B1=0,0,"")))

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Distribute proportionately

    Do you mean something like:

    Please Login or Register  to view this content.
    though in the case of your example the result would be 150 given Actual exceeds Target, no ?

  4. #4
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Distribute proportionately

    Hi darkyam,

    Value of A1 (TARGET) is fixed. Let it is 95%. B1 cell value can be from 0% to 100%. Score would be from 0 to 150.

    Hi Donkey,

    score will be 150 only when actual is 100%

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Distribute proportionately

    if A1 (TARGET)=B1 (ACTUAL), then score 100
    if B1=100% then score 150
    if B1=0% then score 0
    What if Target = 100% and Actual = 100% -- is the score 100 from rule 1, or 150 from rule 2?
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Distribute proportionately

    Dear shg,

    Target is always fixed. ie. 95%. So,
    if Actual is 95% score is 100
    if Actual is 100% score is 150
    if Actual is 0%, score is 0

    SCORE from 1 to 99 need to be distributed for ACTUAL from 1% to 94% and
    SCORE from 101 to 149 need to be distributed for ACTUAL from 96% to 99%

  7. #7
    Registered User
    Join Date
    03-06-2009
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Distribute proportionately

    Actually I failed to make you understand my problem in proper way. Now the problem is so clear to me and self solved it

    Below formula is quite okay to provide me expected result.

    =IF(B2>100%,FALSE,IF(B2=0%,0,IF(B2=A2,100,IF(B2=100%,150,IF(B2<A2,B2/A2*100,IF(B2>A2,(B2-A2)*150/B2))))))

    Thank you all

    Tuhin
    Last edited by mshtuhin; 01-16-2010 at 12:33 AM.

+ 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