+ Reply to Thread
Results 1 to 2 of 2

conditional formatting referring to table data

  1. #1
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Poland
    MS-Off Ver
    MS Office 365
    Posts
    174

    conditional formatting referring to table data

    I have sheet with conditional formatting in cell J2.
    This cell should be filled yellow if number of cells in my table that contain value = 2 is greater than 2.

    I reffer to my table by =COUNTIF($A$2:$C$4;2)>2

    I would like to do the same in cell J1 and use the data table reference =COUNTIF(Table1;2)>2 but it does not work.

    Is it possible to address like this? Why I get error when trying to this?
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,121

    Re: conditional formatting referring to table data

    You need to "cheat" a little with Structured Table references in Conditional Formatting

    Use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. How I stop Conditional formatting referring to same cell every time?
    By Coach Foulds in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2015, 05:15 AM
  2. [SOLVED] Conditional Formatting complete rows in data table - inconsistent
    By BuZZarD73 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-13-2014, 10:31 AM
  3. Conditional Formatting Based on Value in Pivot Table Data
    By Lyndy Januszewski in forum Excel General
    Replies: 0
    Last Post: 03-30-2014, 10:03 PM
  4. Conditional Formatting with multiple lists referring to each other
    By Kgriffin99 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2012, 10:14 PM
  5. Conditional Formatting - comparing data in Pivot Table
    By kyrgyzstanart in forum Excel General
    Replies: 1
    Last Post: 02-28-2009, 09:22 AM
  6. conditional formatting chart data table
    By mss5603 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-05-2008, 10:13 AM
  7. Conditional formatting in a data table
    By TimR in forum Excel General
    Replies: 0
    Last Post: 10-05-2005, 02:28 PM

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