+ Reply to Thread
Results 1 to 4 of 4

Ratings based on numerical value

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    Ratings based on numerical value

    Hi All

    I need some help with the following:

    How do i do the following?

    In column A i have a numerical value and in column B i have a alphabetical rating based on the value in column A. I need a formula that will automatically pull the ratings..

    if the figure in column A is greater then 1056 the rating in column B is "A"
    if the figure in column A is between 960 and 1055 the rating in column B is "B+"
    if the figure in column A is between 864 and 959 the rating in column B is "B"
    if the figure in column A is between 768 and 863 the rating in column B is "C"
    if the figure in column A is below 767 the rating in column B is "D"
    Last edited by OlSchool; 06-21-2011 at 05:33 AM.

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Ratings based on numerical value

    Hi,

    There are a few gaps in the logic, eg. what if the value is exactly 767?
    if the figure in column A is between 768 and 863 the rating in column B is "C"
    if the figure in column A is below 767 the rating in column B is "D

    Allowing for adjustments depending on those gaps, I think the general formula you are looking for in B2 is this:
    Please Login or Register  to view this content.
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Ratings based on numerical value

    Or you can use a lookup table like this which makes it easy to maintain update the values should they change.

    Dom
    Attached Files Attached Files
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  4. #4
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Ratings based on numerical value

    Thank you Colin and Domski!!!

+ 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