+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting Help

Hybrid View

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Hanover, MD
    MS-Off Ver
    Excel 2010
    Posts
    3

    Conditional Formatting Help

    I have a dataset that has fixed data in the first 10 or so columns, then the rest of the columns are for user input. I have set conditional formatting on the user columns so that they are red for cells the user is allowed to use, and black for those they are not.

    It is a large sheet, and being a noob, I was playing around and found the =MOD(ROW(),2)=1 formula to use conditional formatting to color every other row. Turns out that I like that. It works well on the fixed data portion, but when I try to use it for the rest of the page, it overrides the conditional formatting. I made one sheet work by manually selecting every other row, then setting the conditional formatting for all non-blank cells to be a certain color. Is there a way to highlight the entire user section and create a conditional formatting rule that will turn every other row a certain color for all non-blank cells only?

  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: Conditional Formatting Help

    I dont know your cell refs, so adjust as neded...

    =AND(COUNTBLANK(A2:D2)>0,MOD(ROW(),2)=1)
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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