+ Reply to Thread
Results 1 to 7 of 7

Only count highlighted column values

  1. #1
    Registered User
    Join Date
    04-14-2009
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    4

    Only count highlighted column values

    Need a macro that will ONLY count the X's in a row that are highlighted. This has got to be easy and I'm just being way to groggy this morning.

    Thanks,

    K

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Only count highlighted column values

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-14-2009
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Only count highlighted column values

    I'm no pro at macros by any stretch so I don't know if that code will work or not. kind of need my hand held.

    I've attached the file. I need to count the number of winning teams (highlighted rows) each person picked correctly (x in the highlighted column).

    the number of columns will change every week. Do I need a formula and not a macro? If so I'm in the wrong forum!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Only count highlighted column values

    I've added a revised macro to the spreadsheet for your request. It gives the results on Row 51.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Only count highlighted column values

    Oops:

    Change the line highlighted in red:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-14-2009
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    4

    Red face Re: Only count highlighted column values



    Thank you so very much!

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Only count highlighted column values

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

+ 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. Can i count highlighted numbers within a column
    By khank in forum Excel General
    Replies: 14
    Last Post: 01-09-2011, 08:02 AM
  2. Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. [SOLVED] Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Domenic in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07:05 AM
  4. Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. Count Intervals of Filtered TEXT values in Column and Return Count across a Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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