+ Reply to Thread
Results 1 to 6 of 6

changing row font color based on 3 criteria

  1. #1
    Registered User
    Join Date
    04-28-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    changing row font color based on 3 criteria

    Can you please help with code to change the row font color to Green if column says "NH", Black if "TRANS" and red if "TERM". The type ( NH,Trans and Term) will be in column E. The background will stay white. Note there are multiple spreasheets in the file this would only be on the a spreadsheet named tracking

    Thank you
    Last edited by ariel20029; 04-28-2012 at 11:44 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: changing row font color based on 3 criteria

    See if this helps...

    Highlight range
    In conditional formatting
    =$E1="NH"

    Just add more conditions for your other criterias

    http://www.contextures.com/xlcondformat02.html
    Last edited by jeffreybrown; 04-28-2012 at 11:23 AM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    04-28-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: changing row font color based on 3 criteria

    so sorry ab out the tags. I was really looking for code to do the formatting. Each month the range can change and I do not want to have to keep changing the range in the conditional formatting.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: changing row font color based on 3 criteria

    How about

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 04-28-2012 at 12:48 PM.

  5. #5
    Registered User
    Join Date
    04-28-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: changing row font color based on 3 criteria

    thank you!!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: changing row font color based on 3 criteria

    Your are very welcome and thanks for the feedback

+ 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