+ Reply to Thread
Results 1 to 2 of 2

Using a cascading if

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    SARASOTA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Using a cascading if

    I need to return a rank from 1 through 5 if the nswer to a formula in a different cell is a certain percentage like
    100% = 1
    99% = 1
    98% = 1
    97% = 2
    96% = 3
    95% = 4
    and 94%and under = 5 this is what i came up with but its not working!!

    =if(and(ab5/(ab5+ac5+ad5+ae5))>98%,(ab5/(ab5+ac5+ad5+ae5))<100%,1,if(ab5/(ab5+ac5+ad5+ae5))=97%,2,if(ab5/(ab5+ac5+ad5+ae5))=96%,3,if(ab5/(ab5+ac5+ad5+ae5))=95%,4,if(ab5/(ab5+ac5+ad5+ae5))<94%,5,"damn")


    please help

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Using a cascading if

    I think you need something like this:

    =if(ab5/(ab5+ac5+ad5+ae5)>=.98,1,if(ab5/(ab5+ac5+ad5+ae5)>=.97,2,if(ab5/(ab5+ac5+ad5+ae5)>=.96,3,if(ab5/(ab5+ac5+ad5+ae5)>=.95,4,5))))

    Hope this helps.

    Pete

+ 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