+ Reply to Thread
Results 1 to 6 of 6

Count the number of yellow cells within a range

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Count the number of yellow cells within a range

    Hi,

    I have a range of cells that have conditional formats to change their colour.

    I want to count the number of yellow cells within the range. Can anyone help?

    (It's the bright yellow from the colour pallet).

    Thanks
    Last edited by singerbatfink; 01-25-2012 at 06:24 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Count the number of yellow cells within a range

    Please Login or Register  to view this content.
    Called with
    PHP Code: 
    =CountYellow(A1:B20

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Count the number of yellow cells within a range

    Actually, that's not going to work for conditional formatting, I'll post back

    EDIT: Can't you use a formula based on the condition to count the number of times it has/hasn't been met? That would be much faster than trying to work with colours

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Count the number of yellow cells within a range

    Hi
    Yes, You can get counts by using the formula used in conditional formating
    Upload a sample sheet.

    See attached for a simple example

    Regards
    Attached Files Attached Files
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  5. #5
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Count the number of yellow cells within a range

    Thanks very much everyone.. Worked for me.

    Cheers.

  6. #6
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Count the number of yellow cells within a range

    Good Joke Not !

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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