+ Reply to Thread
Results 1 to 3 of 3

Help Needed on Conditional Formatting

  1. #1
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Question Help Needed on Conditional Formatting

    Hi All,

    I have 5 values as in the order given below from lower to higher order(PQ is lower value, then Q,B,S and finally G is the higher value.)

    Please Login or Register  to view this content.
    in column A and column B the values are entered in some order..
    for ex
    Please Login or Register  to view this content.
    Now the resultant color using conditional formatting i need is as below:

    For rows[conditional formatting is for ColB values]
    1: Since PQ is equal to PQ it should be Green
    2: Since PQ is less than B, ColB 2nd cell be highlighted in Red
    3: Since S equal to S, ColB 3rd cell be highlighted in Green
    4: Since B is greater than Q, ColB 4th cell be highlighted in Green
    5: Since G is equal to G, ColB 5th cell be highlighted in Green

    So Ultimately, if the value is ColB is greater than or equal to the adjacent value in ColA it should be highlighted in Green else it should be highlighted in Red.

    Please note here that, the values entered here are not numbers, instead letters like PQ,Q,B,S and G as shown in above example..

    Please help me.

    Thank you.

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Help Needed on Conditional Formatting

    Hi -

    Attached is a spreadsheet that will do what you want. Basically just assigned a rank number to each alpha coding and compare ranks for conditional formatting.

    Hope this helps.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Help Needed on Conditional Formatting

    Quote Originally Posted by loginjmor View Post
    Hi -

    Attached is a spreadsheet that will do what you want. Basically just assigned a rank number to each alpha coding and compare ranks for conditional formatting.

    Hope this helps.
    Thanks a lot.. working as expected

+ 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