+ Reply to Thread
Results 1 to 6 of 6

Macro to count coloured rows

  1. #1
    Registered User
    Join Date
    12-30-2011
    Location
    London, Ont
    MS-Off Ver
    Excel 2007
    Posts
    69

    Macro to count coloured rows

    Please I need help with this task,.. even though looks simple,.. its complicated to me with macros...

    I need a macro to count the RED and GREEN cells within Column K, in the attached workbook,..and populate the value in cell N and cell O,.. please open the attached workbook,,.. for a better understanding of this request..

    I really appreciate any response at all,..

    regards..
    Attached Files Attached Files
    Last edited by [email protected]; 01-17-2012 at 09:35 AM.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro to count coloured rows

    Give this a try on a copy of your workbook.

    Please Login or Register  to view this content.

    If you have Cells in Column K that are not colored Red or Green and you need these in your total count in Cell Q2, use this.

    Please Login or Register  to view this content.
    Last edited by jolivanes; 01-14-2012 at 01:46 AM. Reason: Fixed mistake + add other possibility

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro to count coloured rows

    Cleaned up a bit

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-30-2011
    Location
    London, Ont
    MS-Off Ver
    Excel 2007
    Posts
    69

    Re: Macro to count coloured rows

    Thank you very very much,,.. You are nothing but a Genius,..

    Thanks alot,..

  5. #5
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Macro to count coloured rows

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.


    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro to count coloured rows

    Mordred
    Is the "Your post does not comply" etc meant for me? Could you be so kind and let me know what I should change in answering please, if it is indeed for me.
    Respecfully yours

    John

+ 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