+ Reply to Thread
Results 1 to 3 of 3

Color text count for particular range

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Color text count for particular range

    Dear all,
    1st code is working fine for counting red color text in the particular cell range [ E2 =red(A2:D2) ] , Similarly I want to implement for green color text in the same range , here 2nd code for counting green color text in the particular cell range [ F2 =green(A2:D2) ] but this 2nd code is not working , I mean didn’t get any count.
    Please Login or Register  to view this content.
    I need your help in this regard.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Color text count for particular range

    Your code works fine - you must be applying the wrong "green" to your font
    - see attached workbook

    You could "discover" the colour actually applied to the active cell with this simple macro
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kev_; 09-05-2017 at 03:09 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Color text count for particular range

    @ Kev , Thanks , I got your point.

+ 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. [SOLVED] Green Color count for particular cell range
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2017, 10:05 AM
  2. [SOLVED] How to count the color cell with in a range ?
    By BRout in forum Excel General
    Replies: 3
    Last Post: 06-24-2017, 07:31 AM
  3. Count by Cell Text Color
    By excel-help in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2016, 03:20 PM
  4. Count cells in a range that have same bacgoround color
    By tavaritz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-27-2013, 09:35 AM
  5. Count if Same Text name AND Same Background Color Yellow
    By ORAM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-10-2012, 12:15 PM
  6. Count by Color and Text in a cell
    By BobTerwilliger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2006, 05:59 PM
  7. 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

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