Results 1 to 11 of 11

conditional formatting for multiple columns and count cells based on colors

Threaded View

  1. #1
    Registered User
    Join Date
    03-04-2017
    Location
    NJ
    MS-Off Ver
    Excel for Mac Version 15.31
    Posts
    75

    conditional formatting for multiple columns and count cells based on colors

    Dear Excel Community,

    I have a two-part problem that I need help with. If you can help with either part, that would be so great.

    Attached is a workbook with two sheets. The second sheet, "fall test results", is where data on the first sheet populate and it's the second sheet that I need help with. Currently, I have 3 columns "quiz 1, quiz 2 and quiz 3" that need to have conditional formatting and each column has its own values and cutoffs. So for example, for quiz 1, there needs to be 3 colors based on the following values: if between 0 and 24, then pink, if between 25 and 39, then yellow, if greater than 40, then green. Quiz two has the same 3 colors but with different cutoff values, etc. I currently have to go into each column, specify the conditional formatting and it becomes unwieldy when the actual sheet has 10-15 columns like these.

    Request #1: I wonder if there's a vba that allows me to specify the cutoff values for each column in one go? I believe that doing so would be quicker, and by putting all the cutoffs in one place, it's easier for me to eyeball and double check my cutoffs so that I don't accidentally input the wrong cutoff values for the conditional formatting.

    After I'm done with the conditional formatting starting from row 10 all the way down to row 1007, I need to go the boxes at the very top of the page (row 2 through row 6) and do a count based on the values from row 10-1007. Right now, what I do is input 3 formulas with the cutoffs once again for each quiz so that it can count for me. But this is very error prone--with so many cutoff values for different quizzes and having to put the same formulas twice, I've made mistakes in the past. So...

    Request #2: is there a way for me to do a count based on the colors that poplate from row 10 in column C, D, and E?

    I've attached my workbook for your review.

    I realize that this is a large request, so any general or specific advice to streamline this process (VBA or not) would be greatly appreciated. Thank you so much and have a wonderful day!

    Anita
    Last edited by anita2017; 08-16-2020 at 10:12 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 06-15-2017, 06:28 PM
  2. Replies: 2
    Last Post: 12-05-2016, 10:59 AM
  3. [SOLVED] Conditional formatting to change colors of Columns based on data entered in Column E
    By JJFletcher in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-13-2016, 01:27 PM
  4. [SOLVED] Fill colors of cells using Conditional formatting based on 3 criteria
    By Sai Prashanth in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2014, 12:39 PM
  5. [SOLVED] Count cells based on Conditional formatting
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2014, 03:41 PM
  6. Replies: 1
    Last Post: 08-20-2012, 10:36 PM
  7. Count colors with conditional formatting
    By vinaysalian17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2007, 02:50 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