+ Reply to Thread
Results 1 to 5 of 5

how do I count the number of gray-shaded cells within a range?

  1. #1
    Y
    Guest

    how do I count the number of gray-shaded cells within a range?

    I want to use the format of the cell (font color, shading color, etc.) as a
    criterium in a countif formula. How do I do it? what's the syntax for that.
    thanks.

  2. #2
    Niek Otten
    Guest

    Re: how do I count the number of gray-shaded cells within a range?

    http://www.cpearson.com/excel/colors.htm

    --
    Kind regards,

    Niek Otten
    Microsoft MVP - Excel

    "Y" <Y@discussions.microsoft.com> wrote in message news:44D80827-B76F-4357-927C-B924F260E5EA@microsoft.com...
    |I want to use the format of the cell (font color, shading color, etc.) as a
    | criterium in a countif formula. How do I do it? what's the syntax for that.
    | thanks.



  3. #3
    Gary
    Guest

    Re: how do I count the number of gray-shaded cells within a range?

    I tried what is mentioned on this site but its giving me a #NAME error.

    "Niek Otten" <nicolaus@xs4all.nl> wrote in message
    news:O2tVE4FvGHA.4756@TK2MSFTNGP04.phx.gbl...
    > http://www.cpearson.com/excel/colors.htm
    >
    > --
    > Kind regards,
    >
    > Niek Otten
    > Microsoft MVP - Excel
    >
    > "Y" <Y@discussions.microsoft.com> wrote in message
    > news:44D80827-B76F-4357-927C-B924F260E5EA@microsoft.com...
    > |I want to use the format of the cell (font color, shading color, etc.) as
    > a
    > | criterium in a countif formula. How do I do it? what's the syntax for
    > that.
    > | thanks.
    >
    >




  4. #4
    Niek Otten
    Guest

    Re: how do I count the number of gray-shaded cells within a range?

    Try this one:

    http://xldynamic.com/source/xld.ColourCounter.html

    --
    Kind regards,

    Niek Otten
    Microsoft MVP - Excel

    "Gary" <gaurav_ss@hotmail.com> wrote in message news:%23FXRHOGvGHA.4756@TK2MSFTNGP02.phx.gbl...
    |I tried what is mentioned on this site but its giving me a #NAME error.
    |
    | "Niek Otten" <nicolaus@xs4all.nl> wrote in message
    | news:O2tVE4FvGHA.4756@TK2MSFTNGP04.phx.gbl...
    | > http://www.cpearson.com/excel/colors.htm
    | >
    | > --
    | > Kind regards,
    | >
    | > Niek Otten
    | > Microsoft MVP - Excel
    | >
    | > "Y" <Y@discussions.microsoft.com> wrote in message
    | > news:44D80827-B76F-4357-927C-B924F260E5EA@microsoft.com...
    | > |I want to use the format of the cell (font color, shading color, etc.) as
    | > a
    | > | criterium in a countif formula. How do I do it? what's the syntax for
    | > that.
    | > | thanks.
    | >
    | >
    |
    |



  5. #5
    Bob Phillips
    Guest

    Re: how do I count the number of gray-shaded cells within a range?

    and don't forget to copy the supplied UDF into your workbook!

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Niek Otten" <nicolaus@xs4all.nl> wrote in message
    news:%23XQuaYGvGHA.4688@TK2MSFTNGP06.phx.gbl...
    > Try this one:
    >
    > http://xldynamic.com/source/xld.ColourCounter.html
    >
    > --
    > Kind regards,
    >
    > Niek Otten
    > Microsoft MVP - Excel
    >
    > "Gary" <gaurav_ss@hotmail.com> wrote in message

    news:%23FXRHOGvGHA.4756@TK2MSFTNGP02.phx.gbl...
    > |I tried what is mentioned on this site but its giving me a #NAME error.
    > |
    > | "Niek Otten" <nicolaus@xs4all.nl> wrote in message
    > | news:O2tVE4FvGHA.4756@TK2MSFTNGP04.phx.gbl...
    > | > http://www.cpearson.com/excel/colors.htm
    > | >
    > | > --
    > | > Kind regards,
    > | >
    > | > Niek Otten
    > | > Microsoft MVP - Excel
    > | >
    > | > "Y" <Y@discussions.microsoft.com> wrote in message
    > | > news:44D80827-B76F-4357-927C-B924F260E5EA@microsoft.com...
    > | > |I want to use the format of the cell (font color, shading color,

    etc.) as
    > | > a
    > | > | criterium in a countif formula. How do I do it? what's the syntax

    for
    > | > that.
    > | > | thanks.
    > | >
    > | >
    > |
    > |
    >
    >




+ 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