+ Reply to Thread
Results 1 to 12 of 12

If Function - Rate info into Classes

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    2

    If Function - Rate info into Classes

    Hello, hoping someone can assist...

    So what I have is loads of data, I then need to rate each one in a class between 1 - 9. Each class has a value range.
    Example:
    85
    72
    80
    64
    88

    Class 1 = <65
    Class 2 = 65 - 68
    Class 3 = 69 - 72
    Class 4 = 73 - 77
    Class 5 = 78 -81
    Class 6 = 82 - 85
    Class 7 = 86 - 89
    Class 8 = 90 - 96
    Class 9 = > 96

    Thinking a If then that function..?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    Try this:

    =VLOOKUP(A1,$D$1:$E$9,2,1)

    with a lookup table like this in D1 to E9:

    0 Class 1
    65 Class 2
    69 Class 3
    73 Class 4
    78 Class 5
    82 Class 6
    86 Class 7
    90 Class 8
    96 Class 9
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    1
    85
    =VLOOKUP(A1,$D$1:$E$9,2,1)
    0
    Class 1
    2
    72
    =VLOOKUP(A2,$D$1:$E$9,2,1)
    65
    Class 2
    3
    80
    =VLOOKUP(A3,$D$1:$E$9,2,1)
    69
    Class 3
    4
    64
    =VLOOKUP(A4,$D$1:$E$9,2,1)
    73
    Class 4
    5
    88
    =VLOOKUP(A5,$D$1:$E$9,2,1)
    78
    Class 5
    6
    82
    Class 6
    7
    86
    Class 7
    8
    90
    Class 8
    9
    96
    Class 9
    Sheet: Sheet1

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: If Function - Rate info into Classes

    Hi Welcome to excel forum.

    checkout the attached file hope this is what you want.
    Attached Files Attached Files
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Registered User
    Join Date
    08-10-2016
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    2

    Re: If Function - Rate info into Classes

    You all are SUPERSTARS!!!! THANKS SO MUCH!!!!! xxx

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    @Ankur

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behaviour, as you know we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!

  7. #7
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: If Function - Rate info into Classes

    AliGW can you please let me know how did you stamped excel pic here???

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    Quote Originally Posted by MoniqueJ View Post
    You all are SUPERSTARS!!!! THANKS SO MUCH!!!!! xxx
    You're welcome!

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: If Function - Rate info into Classes

    Happy to help you.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED and please add reputation by clicking star * icon left corner on your screen Thanks.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    Quote Originally Posted by shukla.ankur281190 View Post
    AliGW can you please let me know how did you stamped excel pic here???
    Yes - I used my new toy, an Excel add-in available here and recommended to me by a member of another Excel forum yesterday: https://www.dropbox.com/s/31r9s6t9j6...ools.xlam?dl=0

  11. #11
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: If Function - Rate info into Classes

    Thanks Ali can you suggest me how to add it ??

    Quote Originally Posted by AliGW View Post
    Yes - I used my new toy, an Excel add-in available here and recommended to me by a member of another Excel forum yesterday: https://www.dropbox.com/s/31r9s6t9j6...ools.xlam?dl=0

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: If Function - Rate info into Classes

    Quote Originally Posted by shukla.ankur281190 View Post
    Thanks Ali can you suggest me how to add it ??
    https://www.google.co.uk/#q=adding+add+ins+in+excel

+ 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. [SOLVED] What function can I use to add a flat rate plus an hourly rate?
    By dosmin777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2014, 02:26 AM
  2. Replies: 5
    Last Post: 11-04-2013, 11:28 AM
  3. [SOLVED] Get WMI Win32 classes info with VBA
    By fredpox in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2013, 01:08 PM
  4. How to use the function rate?
    By Lewis Koh in forum Excel General
    Replies: 2
    Last Post: 01-26-2011, 07:51 AM
  5. Rate function
    By table83 in forum Excel General
    Replies: 2
    Last Post: 10-25-2009, 08:09 PM
  6. [SOLVED] Rate function
    By Professor Henn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2006, 03:30 AM
  7. [SOLVED] Use execl financial function(Ex:PMT/RATE Function) with ASP
    By michaelchen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2005, 11:20 AM
  8. [SOLVED] INTRATE function-what interest rate does this function return?
    By gfoster07k in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-31-2005, 03:05 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