+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting based on similar rows

Hybrid View

  1. #1
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: Conditional Formatting based on similar rows

    This proposal employs two helper columns (F:G) which may be moved and/or hidden for aesthetic purposes.
    Column F is populated using: =IF(B4="","",ISNUMBER(MATCH(SUM(D4:E4),C$24:C$38,0)))
    Column G is populated using: =IF(B4="","",OR(COUNTIFS(F$4:F$21,TRUE,B$4:B$21,B4)=COUNTIFS(B$4:B$21,B4),COUNTIFS(F$4:F$21,FALSE,B$4:B$21,B4)=COUNTIFS(B$4:B$21,B4)))
    The formulas that conditionally format the cells are as follows:
    Red: =AND($F4=TRUE,$G4=FALSE)
    Green: =AND($F4=TRUE,$G4=TRUE)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Conditional formatting based on rows AND columns
    By HelenaF in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-04-2018, 03:52 AM
  2. Conditional formatting or something similar
    By CTGCWIQC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 06:22 PM
  3. [SOLVED] Conditional Formatting Rows Based on Dates
    By vinceancona in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 11:53 AM
  4. Replies: 7
    Last Post: 07-07-2009, 08:32 AM
  5. Deleting rows based on Conditional Formatting
    By Yobari in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-11-2009, 01:46 PM
  6. Conditional formatting similar to shading alternating rows
    By Conan Kelly in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-22-2006, 06:20 PM
  7. [SOLVED] How do I use conditional formatting on all rows based on data
    By RYD@wolpofflaw in forum Excel General
    Replies: 2
    Last Post: 11-10-2005, 01:35 PM

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