+ Reply to Thread
Results 1 to 8 of 8

count color cells and highlight the result of colored cells

  1. #1
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    758

    count color cells and highlight the result of colored cells

    hello
    i search for code to count any cell is colored and put the result in m2:n so i found udf in the internet but i have fill color in coln then brings me the count in col m but i don't want to fill manually it should bring the colored and counts i put the expected result dynamically without interfere from me
    Attached Files Attached Files

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,955

    Re: count color cells and highlight the result of colored cells

    B13 is same colorindex as B2:B12

    Also I suggest you do not format borders as they become part of the used range...

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Sintek; 08-12-2020 at 02:31 PM.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    758

    Re: count color cells and highlight the result of colored cells

    hi, sintek your code is perfect but i would amend the code i'm sorry about i do not mentioned that , if the colored cells contain the values should sum the values of colored cells and put the result in col n

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,955

    Re: count color cells and highlight the result of colored cells

    don't have a clue what you are saying...

  5. #5
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    758

    Re: count color cells and highlight the result of colored cells

    i put some values and i sum the values based on colored cell i do that manually you can check the file
    Attached Files Attached Files

  6. #6
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,955

    Re: count color cells and highlight the result of colored cells

    Please Login or Register  to view this content.
    Last edited by Sintek; 08-12-2020 at 04:12 PM.

  7. #7
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    758

    Re: count color cells and highlight the result of colored cells

    awesome,sintek many thanks for your codes they're work excellently

  8. #8
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,955

    Re: count color cells and highlight the result of colored cells

    many thanks for your codes they're work excellently
    Gee...Well thanks for adding rep then ...

+ 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 conditianal colored cells based on color
    By new guy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2019, 03:15 PM
  2. Replies: 1
    Last Post: 09-20-2019, 11:38 PM
  3. Count colored cells based on criteria from other cells
    By gdaniels in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-11-2014, 08:32 PM
  4. Need formula to add only cells colored certain color
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2014, 11:27 PM
  5. UDF to count colored cells AND merged cells
    By blackhawk98ss in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-01-2014, 04:09 PM
  6. Replies: 1
    Last Post: 11-09-2013, 02:43 AM
  7. Using Colored Cells to Highlight Cells Requiring Data
    By curtis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2010, 09:27 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