+ Reply to Thread
Results 1 to 3 of 3

Color text to indicate Correct or Wrong.

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2003
    Posts
    17

    Color text to indicate Correct or Wrong.

    Is there an excel function to color text to indicate a correct and wrong answer? I'm thinking of using an IF THEN statement to compare two cells. If the numbers are equal then color them green, if wrong color them red automatically.

  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
    53,048

    Re: Color text to indicate Correct or Wrong.

    You would use Conditional Formatting for this.

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =A1=B1 format Green

    Create a New Rule, repeat 3 and 4 with =A1<>B1

    If you dont want to use a 2ned rule, you could simply format all cells green with regular formatting, then use 1 rule for teh color change (=A1<>B1)
    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
    Registered User
    Join Date
    07-16-2013
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Color text to indicate Correct or Wrong.

    Thank-you for the information.

    I'm going to give it a try.

    Best regards,


    JoaquinWalking

+ 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] Correct procedure results in wrong chart
    By Skakinen in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-06-2014, 11:06 AM
  2. correct me IF i'm wrong
    By Whougonacall in forum Excel General
    Replies: 2
    Last Post: 06-05-2008, 07:14 AM
  3. selection.font.color returns wrong color; the first execution
    By AnExpertNovice in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-07-2006, 08:35 AM
  4. [SOLVED] [SOLVED] Converting Wrong Time Value to Correct One
    By David Lanrizen in forum Excel General
    Replies: 2
    Last Post: 02-05-2006, 09:40 PM
  5. [SOLVED] Formula correct, answer wrong
    By TJAC in forum Excel General
    Replies: 2
    Last Post: 01-03-2006, 02:20 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