+ Reply to Thread
Results 1 to 4 of 4

Apply Conditional Formatting on Row

  1. #1
    Registered User
    Join Date
    04-04-2011
    Location
    Oslo
    MS-Off Ver
    Excel 2007
    Posts
    21

    Apply Conditional Formatting on Row

    Hi. Need a solution for applying conditional formatting on whole row if order no. is same in above cell.

    further, Is it possible to get unique colors each time when condition matched? (Optional)

    My attachment shows more specific what i needed.

    My data is in Table format. I am open to get any formula which can do the same function (VBA codes is not applicable)

    Thanks in advance

    Naghman
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Apply Conditional Formatting on Row

    Hi Naghman,
    Try with this.
    First remove all formatting you have already on your file. In Cell B3 create new "Formatting rule". Select "Use formula to determine which cell to format". Insert the below formula as a formatting rule:

    =OR(AND($B3=$B2,$B2<>0),AND($B3=$B4,$B4<>0))

    And add the range which you need to be formatted.

    This will format only the double entrees. Unfortunately, I don't know how to make different color for the formatting.

    Igor

    418472d1441972747-apply-conditional-formatting-on-row-apply-cf.xlsx

  3. #3
    Registered User
    Join Date
    04-04-2011
    Location
    Oslo
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Apply Conditional Formatting on Row

    Hi Igor. It works perfect. Thanks a lot for your help. This fulfills my requirement almost 70% but if get option to get different colors by same formatting so it will be superb.

  4. #4
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Apply Conditional Formatting on Row

    Hi Naghman,
    You'll need to create 2 conditional formatting each with one of the below formulas

    =AND(OR(AND($B3=$B2,$B2<>0),AND($B3=$B4,$B4<>0),COUNTIFS($B$3:$B$150000,B3)>=2),NOT(ISEVEN(SUMPRODUCT(($B$3:B3<>"")/COUNTIF($B$3:B3,$B$3:B3&"")))))

    =AND(OR(AND($B3=$B2,$B2<>0),AND($B3=$B4,$B4<>0),COUNTIFS($B$3:$B$150000,B3)>=2),ISEVEN(SUMPRODUCT(($B$3:B3<>"")/COUNTIF($B3:B$3,$B$3:B3&""))))


    Igor

    test.xlsb

+ 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. [SOLVED] How to apply conditional formatting across sheets
    By James__S in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-23-2015, 08:14 PM
  2. [SOLVED] Apply conditional formatting to rows below
    By ibenegal in forum Excel General
    Replies: 3
    Last Post: 01-07-2015, 03:11 AM
  3. Replies: 5
    Last Post: 02-04-2014, 09:29 PM
  4. [SOLVED] IF (something is a supplier) AND (value is) then apply conditional formatting?!
    By mra1984 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-02-2013, 06:02 PM
  5. [SOLVED] Want to apply conditional formatting
    By mshtuhin in forum Excel General
    Replies: 5
    Last Post: 07-04-2012, 07:41 AM
  6. Replies: 1
    Last Post: 11-12-2010, 03:18 PM
  7. Replies: 2
    Last Post: 09-02-2009, 07:46 AM

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