+ Reply to Thread
Results 1 to 6 of 6

Automatic Conditional Formatting in matrix of information

  1. #1
    Registered User
    Join Date
    09-02-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    25

    Automatic Conditional Formatting in matrix of information

    Hi all

    I have been asked to create a clash grid that shows when promotions for specific customers are on for specific products.

    I've got all the information collated, and I suck it all up into a cover sheet that splits it by product, by customer, and then shows the weeks each product is on promotion. The issue I have, is I wish to colour code each customer so it is easier to read for those who aren't excel savvy.

    I've tried conditionally formatting it, but have stumbled a couple of times. I can write an 'if' statement for it, but can't work out how to get the conditional formatting to follow the statement (I'm not sure this is the best way to do it, but figured it was worth explaining).

    Attached is a 'How it is' and 'What I want it to be', so if you could help, that would be great!

    Thanks,

    StarkeyExample.xlsx

  2. #2
    Registered User
    Join Date
    01-07-2013
    Location
    Cluj-Napoca, Romania
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Automatic Conditional Formatting in matrix of information

    The easy way, you could just define your conditional formatting like this: select you customers using "Ctrl": Conditional Formatting - Highlight Cells Rules - Greater Than... and set your value to 0, and use "Custom Format" - Fill to get to the color you want for those specific cells. I hope it helps.

  3. #3
    Registered User
    Join Date
    09-02-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Automatic Conditional Formatting in matrix of information

    Hi Cosmina,

    I'm afraid I don't follow what you're suggesting. Can you explain the steps a little better?

    Thanks.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Automatic Conditional Formatting in matrix of information

    try this...
    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =AND($G15="Freds Store",ISNUMBER(F15))
    repeat this for the other stores

    OR if you want the entire row highlighted and not just the values...
    =$G15="Freds Store"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Automatic Conditional Formatting in matrix of information

    hi Starkey. select the range you want to apply to (i.e. H4:L9)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =AND(H4<>"",$G4="Freds store")

    Format to blue. repeat the steps 2 more times for 2 more customers & change the 2nd part in red:
    =AND(H4<>"",$G4="Bills store")
    =AND(H4<>"",$G4="Kevins store")

    Edit: ahhh didn't see your post FDibbins

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  6. #6
    Registered User
    Join Date
    09-02-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Automatic Conditional Formatting in matrix of information

    This has all worked, so thank you very much for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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