+ Reply to Thread
Results 1 to 8 of 8

Variance Range Formula

  1. #1
    Registered User
    Join Date
    03-26-2018
    Location
    Richmond, VA
    MS-Off Ver
    2013
    Posts
    6

    Variance Range Formula

    Good morning!

    I would be grateful for some assistance on a formula i am trying to create.

    I need to return a score that is based on a variance number. I am attaching a picture of the data for clarity.

    Capture.PNG


    So i am calculating a score between 1 and 5 based on this range:

    If the variance is unfavorable by 15% or more, "1"
    If the variance is unfavorable by 10% - 14.99%, "2"
    If the variance is unfavorable by 5% - 9.99%, "3"
    if the variance range is from 0 (no variance) to favorable of 5%, "4"
    If the variance is favorable at 5% or greater, "5"

    I hope this makes sense between the above and the attached snapshot. I have tried many many variations of IF/AND but am striking out.

    Thanks in advance!
    Attached Images Attached Images
    Last edited by Kay5291; 08-01-2018 at 01:38 PM.

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Need Help on a Formula

    Hi!

    If you have the percentage in D2, try:
    =MATCH(D2,-{9E+307,15,10,5,0,-5}%+1%%)

    Blessings!

  3. #3
    Registered User
    Join Date
    03-26-2018
    Location
    Richmond, VA
    MS-Off Ver
    2013
    Posts
    6

    Re: Need Help on a Formula

    Thanks for the response -

    this is returning "backwards" results. So for a positive variance it is returning a 1, which is the worse on the scoring scale, and for negative variance it is returning a high number. Also it is returning a 6 instead of a 5??? Not sure why. Any further edits?? (See pic for results).

    Thanks!

    Capture2.PNG

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Need Help on a Formula

    deleted, Kay did as requested.
    Last edited by Sam Capricci; 08-01-2018 at 01:38 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Need Help on a Formula

    Deleted, duplicate post.
    Last edited by Sam Capricci; 08-01-2018 at 01:39 PM.

  6. #6
    Registered User
    Join Date
    03-26-2018
    Location
    Richmond, VA
    MS-Off Ver
    2013
    Posts
    6

    Re: Need Help on a Formula

    For anyone still following - I solved.

    =IF(G20>=0.15,1,IF(AND(G20<0.1499,G20>0.1001),2,IF(AND(G20<0.1,G20>0.0501),3,IF(AND(G110<0.05,G20>-0.049),4,IF(G20<=-0.05,5)))))

    Thanks for the assistance. I will mark as solved. And change the title.

    K

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Variance Range Formula

    thank you.

  8. #8
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Variance Range Formula

    Hi again, Kay!

    Ok... I'd understood "backwards". You could try:
    =MATCH(G20,{9E+307,15,10,5,-4.99}%-1%%,-1)

    Blessings!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  5. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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