+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting a Data Matrix

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Conditional Formatting a Data Matrix

    I cannot seem to find a relevant search result for my puzzler. I have a row A2:E2 with different whole numbers (variables) in each of the five cells. I want to match any of the five numbers with all entries in the range A4:E20. If any match is found, I want the match in the range to have be filled green. I can accomplish this using a single data source cell from Row 2 but Conditional Formatting only appears to allow three rules, so I cannot capture all five cells of input individually using that method. I have attached file, if that helps. Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Conditional Formatting a Data Matrix

    you can do more than 3 rules in excel 2010
    Also you maybe able to use an OR()

    =OR(A4=$A$2, A4=$B$2,A4=$C$2,A4=$D$2,A4= $E$2)

    what exactly are you doing with column F = PB ?

    See attached using one rule for
    A4:E10 matrix
    Attached Files Attached Files
    Last edited by etaf; 01-10-2016 at 03:00 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Conditional Formatting a Data Matrix

    Select the cells from A4 to E20, then click on Conditional Formatting | Manage Rules and then delete the rule you have set up. Click on New Rule | Use a formula... , and put this formula in the dialogue box:

    =ISNUMBER(MATCH(A4,$A$2:$E$2,0))

    Click the Format button, then the Fill tab and choose green, then OK your way out. Excel will automatically adjust the cell references to suit the cells that are selected.

    Hope this helps.

    Pete

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Conditional Formatting a Data Matrix

    With COUNTIF

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




    A
    B
    C
    D
    E
    1
    1
    2
    3
    4
    5
    2
    16
    19
    32
    34
    57
    3
    4
    5
    12
    15
    23
    46
    5
    27
    30
    55
    56
    69
    6
    10
    20
    31
    34
    67
    7
    7
    16
    35
    39
    55
    8
    4
    13
    32
    53
    68
    9
    8
    18
    31
    48
    51
    10
    5
    23
    39
    48
    65
    Sheet: Powerball
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: Conditional Formatting a Data Matrix

    Thanks all for the solution options. Kudos to all!!

+ 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] Risk Matrix Conditional Formatting
    By heepo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-22-2021, 09:12 PM
  2. Training matrix traffic lights conditional formatting
    By buju247 in forum Excel General
    Replies: 6
    Last Post: 11-29-2013, 05:44 AM
  3. Conditional Formatting Training Matrix Dates
    By hamiltg02 in forum Excel General
    Replies: 2
    Last Post: 05-01-2013, 05:49 PM
  4. [SOLVED] Automatic Conditional Formatting in matrix of information
    By Starkey in forum Excel General
    Replies: 5
    Last Post: 02-11-2013, 11:44 PM
  5. [SOLVED] Formatting columnar data to a monthly matrix
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2006, 10:15 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