+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting from a chart to a table.

  1. #1
    Registered User
    Join Date
    10-23-2022
    Location
    USA
    MS-Off Ver
    365
    Posts
    1

    Conditional formatting from a chart to a table.

    Hello,

    So I have a results chart that tells me which scripts passed or failed. From that, I want to put it into the table red or green depending on the outcome. After that, I would like the A column or the Ys to reflect the outcome. So yellow if it is both red/green, green if its all passed, etc etc. I tried using match and index and I think I was wrong. Any idea on how to do this properly? I attached the document and just used fill to give an example of what I'm wanting. Any help would be nice. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Conditional formatting from a chart to a table.

    Hello vgubarev and Welcome to Excel Forum.
    This proposal employs helper columns P:Z which may be moved and/or hidden for aesthetic purposes.
    The helper columns are populated using: =VLOOKUP(B2,Results!$A$1:$B$9,2)
    The conditional formatting rules for B2:N14 are:
    For green: =P2="Passed"
    For red: =P2="Failed"
    The conditional formatting rules for A2:A14 are:
    For yellow: =AND(COUNTIFS(P2:Z2,"Passed")>0,COUNTIFS(P2:Z2,"Failed")>0)
    For red: =COUNTIFS(P2:Z2,"Failed")>0
    For green: =COUNTIFS(P2:Z2,"Passed")>0
    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. Replies: 3
    Last Post: 10-05-2021, 10:33 AM
  2. Replies: 2
    Last Post: 11-16-2019, 05:01 AM
  3. [SOLVED] Conditional Formatting in table generated using TABLE function using formulas
    By savvynavvy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-20-2019, 03:20 AM
  4. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  5. Replies: 9
    Last Post: 03-07-2016, 10:39 AM
  6. Conditional formatting of chart
    By jdhill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2012, 04:26 AM
  7. conditional formatting chart data table
    By mss5603 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-05-2008, 10:13 AM

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