+ Reply to Thread
Results 1 to 4 of 4

Need help in creating rule

  1. #1
    Registered User
    Join Date
    09-15-2006
    Posts
    3

    Need help in creating rule

    I need to create a rule or filter or whatever it's called to do the following:

    If B1 value (Number) is NOT equal to F1 value (Number) then fill the whole row with color red.


    How can I do that please?

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    You could try doing it in conditional formatting or you can paste this in to the code page for the worksheet
    Please Login or Register  to view this content.
    everytime you select a cell the code will run, of course you can change it to work when the sheet calculates or move it to a command button or.....etc, just experiment with it!

    Regards,
    Simon

  3. #3
    Forum Contributor colofnature's Avatar
    Join Date
    05-11-2006
    Location
    -
    MS-Off Ver
    -
    Posts
    301
    Highlight the whole of row 1, then select "Conditional Formatting..." from the Format menu. In the dialog box, change "Cell Value Is" to "Formula Is" and put "=$B1<>$F1" (without the quotes) into the box to the right, the click on "Format...", go to the Patterns tab and select the red block. Click OK, click OK again. Finally, copy the row, select the entire worksheet and do a Paste Special:Formats. Hey presto!


    HTH
    Col
    If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.

  4. #4
    Registered User
    Join Date
    09-15-2006
    Posts
    3
    Thaaaaaaaaaaaaaanks, It worked and I appreciate your help

+ 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