+ Reply to Thread
Results 1 to 6 of 6

Excel 2010 doesn't know that a B grade is lower than a B+ grade?

  1. #1
    Registered User
    Join Date
    02-17-2013
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2010
    Posts
    1

    Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    Hi, all,

    In column b I have letter grades like B- B and B+
    In column c I have the same kinds of letter grades

    I have conditionally formatted column c to have a green background if a cell in column c is higher than the cell to the left, column b
    I have conditionally formatted column c to have a red background if a cell in column c is lower than the cell to the left, column b
    I have conditionally formatted column c to have no background if a cell in column c is the same letter grade as the cell to the left, column b

    This works fine EXCEPT Excel 2010 thinks that B is higher than B+; it thinks D+ is lower than D-

    Is there a fix for this other than to work off a hidden column with numeric values?

    BTW: Columns B and C are copied from cells in other pages of the spreadsheet. Those original cells use the lookup function to create the letter grades

    Help, anyone?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    Hi and welcome to the forum

    Perhaps what you could try, would be to put all the grades in a table, and give each 1 a numeric value...eg A+ = 10 A = 9 etc. You could then use a vlookup to return the numeric value, and/or base the CF on that? you could hide the helper column used to find the value
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    @ FDibbins,

    Great answer, since computers cannot think unless you tell it what to "Think"!
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    Thanks Winon Hey we fly out there tomorrow

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    @ FDibbins,

    Great! Sunny and warm on this side of the globe!

    No reply to my answer on your PM?

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Excel 2010 doesn't know that a B grade is lower than a B+ grade?

    This works fine EXCEPT Excel 2010 thinks that B is higher than B+; it thinks D+ is lower than D-
    This is not quite correct ( might be interesting to understand why you think this?). If you compare you will see that XL sees it is as follows "B+">"B-">"B". ( same for other letters)
    Of course you then still have the problem of B- which is solved as proposed in post #2

+ 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