+ Reply to Thread
Results 1 to 6 of 6

Colorize rows in Excel

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Colorize rows in Excel

    Hello,

    I have a table in excel listing our organization members. I would like to colorized the inactive members for more than 30 days in red and the inactive members for less than 30 days in orange.

    I believe I need to use conditional formatting to achieve that. But how can I tell excel to look in my column B to see if the member is listed as "inactive member" and then look into column E to see for how many days the company was inactive.

    Also, I seem to be able to colorize one cell based on one condition but not the whole row.

    Thanks a lot!
    Last edited by Daniellekenny; 07-26-2013 at 12:22 PM.

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

    Re: Colorize rows in Excel

    Try...

    Conditional Formatting
    • Highlight applicable range >> A2:K100
    • Home Tab >> Styles >> Conditional Formatting
    • New Rule >> Use a formula to determine which cells to format
    • Edit the Rule Description: Format values where this formula is true: =AND($B2="Inactive Member",$E2>=30)
    • Format… [Number, Font, Border, Fill] >> Red
    • OK >> OK

    Now add another rule but switch the formula to:

    =AND($B2="Inactive Member",ISNUMBER($E2),$E2<30)

    and Orange fill

    Note: Highlight whatever range is applicable, A2:K100 was just a sample
    Last edited by jeffreybrown; 07-26-2013 at 10:56 AM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Colorize rows in Excel

    Thanks a lot Jeff!

    I was able to colorize the member's cell orange and red according to my conditions, but the entire row wasn't colorized. Is there a way I could do that?

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

    Re: Colorize rows in Excel

    When you say the entire row, do you literally mean from A to the end of the spreadsheet (16,000 + columns)?

    If you highlight the applicable range all will work fine.

    If you want to post your sample workbook and what you are doing maybe there is something going wrong...

  5. #5
    Registered User
    Join Date
    07-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Colorize rows in Excel

    Never mind I figured it out!

    I only selected the first column, if I select all the columns in my table, it will highlight the entire row

    Thank you

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

    Re: SOLVED! Colorize rows in Excel

    You're welcome…glad you have a workable solution and thanks for the feedback...

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    I'll mark it for you.

+ 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. Replies: 10
    Last Post: 06-07-2018, 04:16 PM
  2. How to perform 'insert rows' instead of 'copy rows' using .copyrecordset (excel vba)
    By praful k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2013, 06:06 AM
  3. Replies: 2
    Last Post: 03-18-2013, 04:53 AM
  4. Excel freeze when I delete multiple rows (visible rows after filtering)
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-27-2012, 09:05 AM
  5. Replies: 0
    Last Post: 06-21-2006, 03:10 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