+ Reply to Thread
Results 1 to 6 of 6

If Cell equals certain text, color entire row orange

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    If Cell equals certain text, color entire row orange

    If column Y cell i, has value "P" then I want the entire row i, to be automatically colored orange. Can I do this through a macro?

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: If Cell equals certain text, color entire row orange

    you can do it without a macro using conditional formatting
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: If Cell equals certain text, color entire row orange

    yes, it will be on the worksheet_change event in the sheet, and you would say something like
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: If Cell equals certain text, color entire row orange

    Can you talk me through how I would conditionally format it Joe?

  5. #5
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: If Cell equals certain text, color entire row orange

    u can also use the attached macro....
    Attached Files Attached Files

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: If Cell equals certain text, color entire row orange

    1. select the data columns you want highlighted
    2. home tab, conditional formatting, new rule...
    3. 'use a formula to determine which cells to format...'
    4. enter:
    =$Y2="p"
    as the formula (assuming active cell in row 2-if not change the row number)
    5. choose the formatting you want

+ 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