+ Reply to Thread
Results 1 to 5 of 5

count coloured cells

  1. #1
    ile
    Guest

    count coloured cells

    Hi
    How can I count cells which are formatted in colour? I have tried the
    countif function, but it does not work. I cannot use the conditional
    formatting, because the cell values contain only text, which is not
    repeating. So I have to manually colour the cells.

    Please advise.

    ile

  2. #2
    Gary''s Student
    Guest

    RE: count coloured cells

    See:

    http://www.cpearson.com/excel/colors.htm
    --
    Gary's Student


    "ile" wrote:

    > Hi
    > How can I count cells which are formatted in colour? I have tried the
    > countif function, but it does not work. I cannot use the conditional
    > formatting, because the cell values contain only text, which is not
    > repeating. So I have to manually colour the cells.
    >
    > Please advise.
    >
    > ile


  3. #3
    ile
    Guest

    RE: count coloured cells

    Thanks for the help. Unfortunately I'm not that familiar with VB coding. I
    copied the code to VB editor, but it didn't work. What am I doing wrong?

    Any solutions?

    ile

    "Gary''s Student" wrote:

    > See:
    >
    > http://www.cpearson.com/excel/colors.htm
    > --
    > Gary's Student
    >
    >
    > "ile" wrote:
    >
    > > Hi
    > > How can I count cells which are formatted in colour? I have tried the
    > > countif function, but it does not work. I cannot use the conditional
    > > formatting, because the cell values contain only text, which is not
    > > repeating. So I have to manually colour the cells.
    > >
    > > Please advise.
    > >
    > > ile


  4. #4
    Chip Pearson
    Guest

    Re: count coloured cells

    In the VBA Editor, go to the Insert menu and choose Module. Paste
    the code in that module.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "ile" <ile@discussions.microsoft.com> wrote in message
    news:33DC4F38-9BA1-4F34-879C-8E1EBC8B55ED@microsoft.com...
    > Thanks for the help. Unfortunately I'm not that familiar with
    > VB coding. I
    > copied the code to VB editor, but it didn't work. What am I
    > doing wrong?
    >
    > Any solutions?
    >
    > ile
    >
    > "Gary''s Student" wrote:
    >
    >> See:
    >>
    >> http://www.cpearson.com/excel/colors.htm
    >> --
    >> Gary's Student
    >>
    >>
    >> "ile" wrote:
    >>
    >> > Hi
    >> > How can I count cells which are formatted in colour? I have
    >> > tried the
    >> > countif function, but it does not work. I cannot use the
    >> > conditional
    >> > formatting, because the cell values contain only text, which
    >> > is not
    >> > repeating. So I have to manually colour the cells.
    >> >
    >> > Please advise.
    >> >
    >> > ile




  5. #5
    ile
    Guest

    Re: count coloured cells

    Thanks Chip. I managed to get the 'colorindex' function to work, but the
    'countbycolor' gives an error message. I guess the problem is with the
    syntax. I've tried many variations to it, but still can't get it to work.

    This means a trip to library and reading VBA basics... :-)

    Many thanks for the help.

    ile

    "Chip Pearson" wrote:

    > In the VBA Editor, go to the Insert menu and choose Module. Paste
    > the code in that module.
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "ile" <ile@discussions.microsoft.com> wrote in message
    > news:33DC4F38-9BA1-4F34-879C-8E1EBC8B55ED@microsoft.com...
    > > Thanks for the help. Unfortunately I'm not that familiar with
    > > VB coding. I
    > > copied the code to VB editor, but it didn't work. What am I
    > > doing wrong?
    > >
    > > Any solutions?
    > >
    > > ile
    > >
    > > "Gary''s Student" wrote:
    > >
    > >> See:
    > >>
    > >> http://www.cpearson.com/excel/colors.htm
    > >> --
    > >> Gary's Student
    > >>
    > >>
    > >> "ile" wrote:
    > >>
    > >> > Hi
    > >> > How can I count cells which are formatted in colour? I have
    > >> > tried the
    > >> > countif function, but it does not work. I cannot use the
    > >> > conditional
    > >> > formatting, because the cell values contain only text, which
    > >> > is not
    > >> > repeating. So I have to manually colour the cells.
    > >> >
    > >> > Please advise.
    > >> >
    > >> > ile

    >
    >
    >


+ 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