+ Reply to Thread
Results 1 to 7 of 7

Count amount of cells with specific color with value

  1. #1
    Registered User
    Join Date
    06-09-2020
    Location
    Belgium
    MS-Off Ver
    16.37
    Posts
    16

    Count amount of cells with specific color with value

    Hi

    I only want to count the amount of cells of a specific color that contain a value above 0.
    Attached Files Attached Files

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Count amount of cells with specific color with value

    Hi Ikke1996,
    maybe so
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-09-2020
    Location
    Belgium
    MS-Off Ver
    16.37
    Posts
    16

    Re: Count amount of cells with specific color with value

    That works!
    How did you find the number 10079487?
    Can you maybe do a breakdown of the text? Or do you have a source where this text and its function are described so i can understand what's going on?

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Count amount of cells with specific color with value

    select the cell with the desired color and run the macro
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-09-2020
    Location
    Belgium
    MS-Off Ver
    16.37
    Posts
    16

    Re: Count amount of cells with specific color with value

    Nice!

    Is it possible to, instead of putting in a number, to select the cell with the desired color?

  6. #6
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Count amount of cells with specific color with value

    Please Login or Register  to view this content.
    =CountColor2(D2:D21;B9)

  7. #7
    Registered User
    Join Date
    06-09-2020
    Location
    Belgium
    MS-Off Ver
    16.37
    Posts
    16

    Re: Count amount of cells with specific color with value

    Aha, works perfectly, thanks!!

+ 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: 2
    Last Post: 02-12-2020, 12:54 PM
  2. Replies: 5
    Last Post: 11-10-2019, 02:30 PM
  3. Count cells with specific color and text
    By sky9056 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2019, 03:07 AM
  4. Count Specific-Color cells
    By m4mn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2018, 09:54 PM
  5. 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
  6. [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
  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

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