+ Reply to Thread
Results 1 to 7 of 7

Counting from 2 marked columns

  1. #1
    Registered User
    Join Date
    05-12-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    25

    Counting from 2 marked columns

    OK...I have what I believe is a tough one and maybe not possible. The sheet is for data tracking on assessments in a middle school. We have 4 subgroups next to their names and a conditional format based on their grade that appears in AS. I need to be able to count how many kids in the "SWD" subgroup have either red, yellow, green, or blue format...then the same for the 3 other subgroups. Ultimately I need to be able to see how many of each subgroup test in each color.

    Can it be done?



    IAT.jpg

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting from 2 marked columns

    You can possibly use countifs...

    e.g.

    =COUNTIFS(B$4:B$50,"H",$AP$4:$AP$50,">=0.70")

    where B4:B50 contain the SWD flags and AP4:AP50 contain the colour coded results. This one assumes you coloured yellow for over 70%
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-12-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    25

    Re: Counting from 2 marked columns

    That ends up just counting the 2 SWD cells that have an "x" and not just the one that has an "x" and is yellow.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting from 2 marked columns

    What is your "Yellow" conditional format formula?

  5. #5
    Registered User
    Join Date
    05-12-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    25

    Re: Counting from 2 marked columns

    value between 0.6 and 0.799 is yellow

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting from 2 marked columns

    Try:

    =COUNTIFS(B$4:B$50,"x",$AP$4:$AP$50,">=0.6",$AP$4:$AP$50,"<=.799"))

    adjusting ranges to suit your references

  7. #7
    Registered User
    Join Date
    05-12-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    25

    Re: Counting from 2 marked columns

    That worked...thank you!

+ 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. [SOLVED] Add digits if marked
    By Stews in forum Excel General
    Replies: 3
    Last Post: 05-03-2013, 04:41 PM
  2. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  3. [SOLVED] MY code marked red
    By Alexander_Golinsky in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-25-2012, 02:38 PM
  4. [SOLVED] marked column
    By lucas in forum Excel General
    Replies: 1
    Last Post: 02-07-2006, 02:35 PM
  5. Counting Rows Then Counting Values in Columns
    By Michael via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 12:05 PM

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