+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Highlighting

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    Canton, Ohio
    MS-Off Ver
    2010
    Posts
    48

    Conditional Formatting Highlighting

    I have a cell that is conditionally formatted under "Use a formula to determine which cells to format" with the following formula: =SUBSTITUTE(M1," ","" )= P4 & Q1
    What happens is that data comes into M1 and if that data is equal to P4 & Q1 then the cell is highlighted. This works good. My problem is that I need the row in which the highlighting takes place to stay highlighted. Right now, if the data changes in M1 the highlighting moves to the other cells that are formatted and unhighlights the previous cell. Also, I tried copying the formatting to all the other cells, but the formula in the conditional formatting changes the M1 to M2 then M3 as it goes down the column. I would like to keep it M1. I have attached the sample worksheet for viewing. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-14-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    187

    Re: Conditional Formatting Highlighting

    Hi John,

    Try this Code instead

    "Code: =SUBSTITUTE($M$1," ","" )= P4 & Q1"

    Regards,

    Veejar

  3. #3
    Registered User
    Join Date
    12-18-2012
    Location
    Canton, Ohio
    MS-Off Ver
    2010
    Posts
    48

    Re: Conditional Formatting Highlighting

    Good, that worked. How about this. Instead of looking at just P4, can I change the formula to include the whole column? Thanks.

  4. #4
    Registered User
    Join Date
    12-18-2012
    Location
    Canton, Ohio
    MS-Off Ver
    2010
    Posts
    48

    Re: [SOLVED]Conditional Formatting Highlighting

    Good to go.

+ 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