+ Reply to Thread
Results 1 to 5 of 5

Highlight Cell with criteria

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Highlight Cell with criteria

    Hello:

    Please refer to attached sheet.

    The data is for week ending in row 5.

    I need to highlight cell in column B based on following:

    If there is no data for last (Value in Cell B3) weeks, then highlight the cell in column B.

    I have manually highted B9,B12,B17,B22,B23,B24 since for these client, no data for last 3 weeks.

    Please let me know if you have any questions.

    Thanks and looking forward for help.

    Riz
    Attached Files Attached Files
    Last edited by rizmomin; 10-09-2012 at 03:49 PM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Highlight Cell with criteria

    Am I right to assume that the last column is "X"?
    The ones you highlighted have zero value in the last three columns assuming the last column is "X"?

  3. #3
    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
    52,944

    Re: Highlight Cell with criteria

    highlight B7:B24. go into CF and under new rules, copy this

    =SUM(INDIRECT(CELL("address",OFFSET(C7,0,COUNT($C$5:$X$5)-1))&":"&CELL("address",OFFSET(C7,0,COUNT($C$5:$X$5)-$B$3))))=0

    set colors as needed
    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

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Highlight Cell with criteria

    Hello:

    This works great

    Thank you for your help.

    Riz

  5. #5
    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
    52,944

    Re: Highlight Cell with criteria

    glad to help, and thanks for the star

+ 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