+ Reply to Thread
Results 1 to 3 of 3

Count cells with specific color and text

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    Malaysia
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    6

    Count cells with specific color and text

    Hello all,

    I have counted the number of cells with a certain color, but now I wanted to add in an additional criteria: to count the colored cells + specific text in another column. For example:


    Capture1.PNG

    Cells highlighted in yellow are billable. I wanted to further breakdown the number to member or non-member based on response column B. Is there a way to count the number for cells for each day (day 1, day 2...) based on the below criteria:
    1. highlighted in Yellow
    2. Response is "Yes" in row B2


    I have the below Macro to count the number of cells with specific color:
    Please Login or Register  to view this content.



    Thank you so much in advance for the help! I have been trying to figure it out for the longest time ever.
    Attached Images Attached Images
    Last edited by alansidman; 05-03-2019 at 12:33 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Count cells with specific color and text

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-23-2019
    Location
    Malaysia
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    6

    Re: Count cells with specific color and text

    Thanks Alan, noted on the Forum Rules

+ 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. Count Specific-Color cells
    By m4mn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2018, 09:54 PM
  2. Counting Cells with Specific Text and Font Color
    By omeng414 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-29-2014, 05:03 AM
  3. A formula to count cells with a specific color?
    By Harlort in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-21-2014, 08:55 AM
  4. Color coding to cells in columns with specific text
    By shadowking1984 in forum Excel General
    Replies: 4
    Last Post: 04-12-2013, 06:08 AM
  5. [SOLVED] Count cells that have specific font color
    By Wheelie686 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2012, 08:24 PM
  6. count by specific text color in range of cell
    By Tii99 in forum Excel General
    Replies: 2
    Last Post: 04-04-2006, 04:58 AM
  7. [SOLVED] how to count cells with specific format (background color)?
    By Blackheartedowl in forum Excel General
    Replies: 1
    Last Post: 02-08-2006, 04:25 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