+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting of a Dynamic Dashboard based on 2 variables

  1. #1
    Registered User
    Join Date
    01-09-2019
    Location
    Sydney, Australia
    MS-Off Ver
    2017
    Posts
    2

    Exclamation Conditional formatting of a Dynamic Dashboard based on 2 variables

    Hi all,

    I am in need of some Excel know-how. I am trying to apply conditional formatting to cells on a dashboard to highlight from a matrix of higher level information the high-risk values as determined by Sheet 2 though after toiling with VLOOKUP, INDEX, IF, AND I am out of ideas. Ideally I would like to also like to have any value in Sheet 2 highlight all identical values on Sheet.

    As an example (See attached), I have a matrix of animals ('Animal Matrix'!) that will be added to every time the spreadsheet is updated. The Matrix feeds the animals into the Animal Risk tab ('Animal Risk'!) to be assessed as dangerous or non-dangerous using a drop down menu. What I want to happen is for the animals in the matrix to be highlighted [Green] if they have been assessed as Dangerous.

    Any help would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Conditional formatting of a Dynamic Dashboard based on 2 variables

    Welcome to the forum.

    You can do this with Index-Match.
    1. Select the range you want the Conditional Formatting to apply to - in the sample file, this is B4:F14.
    2. Click Conditional FormattingNew RuleUse a formula to determine which cells to format.
    3. Enter this in the formula box:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Adjust the C2:C19 and B2:B19 ranges to match your real ranges. The C range is the dangerous yes/no column; the B range is the list of animals. Note that the ranges need to be the same size.
    B4 here is the top-left of the range you selected in step 1. Because you pre-selected the range in that step, Excel will automatically apply the rule to the rest of the range, adjusting the cell reference 'behind the scenes.' Note that B4 here is a relative reference (no $ signs) - that's important.
    4. Choose the format you want (green fill) and click OK.

    Hope that does what you want.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    01-09-2019
    Location
    Sydney, Australia
    MS-Off Ver
    2017
    Posts
    2

    Re: Conditional formatting of a Dynamic Dashboard based on 2 variables

    Worked like a charm.

    Aardigspook you are a genius, thank you very much!

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Conditional formatting of a Dynamic Dashboard based on 2 variables

    You're welcome, glad I could help and thanks for marking the thread as Solved.

+ 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. Creating a Dynamic Chart Based on Variables
    By nohmis in forum Excel General
    Replies: 4
    Last Post: 01-03-2019, 09:07 PM
  2. [SOLVED] Conditional Formatting with variables
    By Aussie1 in forum Excel General
    Replies: 1
    Last Post: 06-04-2014, 05:38 PM
  3. [SOLVED] Weighted Average, Dynamic Range, Conditional Dashboard
    By MIACG in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2014, 05:32 PM
  4. VBA conditional formatting variables
    By charles1239 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2012, 10:22 PM
  5. Replies: 15
    Last Post: 05-03-2012, 08:38 PM
  6. Conditional formatting w/ > 3 variables
    By Kearse56 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2007, 09:24 AM
  7. Conditional formatting for more than 3 variables
    By Emile in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2006, 12:30 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