+ Reply to Thread
Results 1 to 2 of 2

Retention rate - count unique values with multiple criteria

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Retention rate - count unique values with multiple criteria

    NEED A FREQUENCY FORMULA:
    How many of the COHORT 2015 students in the 1st COUNTIFS statement (488) returned in the 2nd COUNTIFS OR FREQUENCY statement (2149) of the 2343 duplicates (all formulas found below).

    I've been researching FREQUENCY (found these below) which will count the duplicate STUID's, BUT how do I incorporate the required criteria found in the (COUNTIFS #1) which is contingent on the result from COUNTIFS #2 into a single FREQUENCY formula to get 65%

    Basically, can a COUNTIFS or FREQUENCY be placed inside another FREQUENCY result?
    COUNTIFS #2 counts the number of students in TERM = "16FALL" (result =2149); of those 2149 students, how many in COUNTIFS #1 (the Cohort) appear / returned in COUNTIFS #2? The result =315 which will then be divided by COUNTIFS #1 (the Cohort) that gives the 65% that I am seeking. Something like IF((COUNTIFS #2 result),IF(AND(COUNTIFS #1 result)... then give me duplicate count / COUNTIFS


    NOTE: The MASTER File contains Fall 2007 to Fall 2017 (07FALL to 17FALL) data consisting of 42000 rows and 140 columns. The STUDENT ID (STUID) and TERM are the main components.


    Definition of Retention Rate (COHORT): The number of Full-Time, First-Time Freshman (FTF) Undergraduates who are Degree Seeking and have returned the following Fall Term.


    Below are the columns used to calculate Retention Rates.
    COLUMN A = STUID (COUNT the duplicates) COHORT that returned the following term
    COLUMN B = TERM (15FALL and 16FALL)
    COLUMN C = FT/PT (FT)
    COLUMN G = LEVEL (UG)
    COLUMN L = ENROLL STATUS (FF)
    COLUMN O = PROGRAM ID (<> ND.*)



    KNOWNS:

    COUNTIFS #1 COHORT 2015 = 488
    =COUNTIFS('DATA SAMPLE'!B:B,"15FALL",'DATA SAMPLE'!G:G,"UG",'DATA SAMPLE'!C:C,"FT",'DATA SAMPLE'!L:L,"FF",'DATA SAMPLE'!O:O,"<>ND.*")

    COUNTIFS #2 FALL 2016 ENROLLMENT = 2149
    =COUNTIFS('DATA SAMPLE'!B:B,"16FALL")

    FREQUENCY COUNT FOR FALL 2016 ENROLLMENT = 2149
    =SUM(--(FREQUENCY(IF('DATA SAMPLE'!B2:B4474="16FALL",MATCH('DATA SAMPLE'!A2:A4474,A2:A4474,0)),ROW('DATA SAMPLE'!B2:B4474)-ROW(B2)+1)>0))


    DUPLICATES = 2343
    {=SUM(IF(FREQUENCY(IF(LEN('DATA SAMPLE'!A2:A5000)>0,MATCH('DATA SAMPLE'!A2:A5000,A2:A5000,0),""),IF(LEN('DATA SAMPLE'!A2:A5000)>0,MATCH('DATA SAMPLE'!A2:A5000,A2:A5000,0),""))>0,1))}


    ** PIVOT TABLES and VLOOKUP USED to check work (TABLES found in COLUMNS V-AC) of attached file to get RETENTION # AND %
    COHORT FALL 2015 RETURN FALL 2016 = 315 (cell Y6)
    RETENTION RATE = 65% (cell Y7)


    RETENTION RATE FORMULA SETUP
    COHORT 2015 RETURN IN FALL 2016/COHORT 2015 = RETENTION RATE %

    OUTPUT ANSWER SHOULD EQUAL BELOW:
    = 315 (returned in Fall 2016) / 488 (Cohort 2015 - COUNTIFS #1) = 65%.
    Attached Files Attached Files
    Last edited by cvercrus; 11-01-2017 at 09:20 AM.

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Retention rate - count unique values with multiple criteria

    Always mention your desired result in sheet manually, If you really want help. Because Nobody is interested to read lot of lines.

    Please mention in the sheet and attach it again.
    To attach worksheet Go advanced -> Manage attachments -> Choose file -> Upload
    Don't forget to Mention your desired result in the sheet..
    There should be sample data only, a lot of data creates confusion.

    Thanks & Regards

    Shivya

    http://excelvbatipsforbeginners.blogspot.in/

+ 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] Count unique values with multiple criteria
    By Delta729 in forum Excel General
    Replies: 2
    Last Post: 10-01-2017, 08:41 PM
  2. [SOLVED] Count unique values with multiple criteria
    By jake1912 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-27-2017, 01:15 AM
  3. [SOLVED] Need to Count Unique Values down a column with multiple criteria
    By RMerckling in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-21-2016, 07:39 PM
  4. Count Unique Values with multiple criteria
    By TotallyLost in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2015, 10:24 AM
  5. Count Unique Values for Multiple Criteria
    By timjs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2015, 10:09 AM
  6. Count Unique Values, but with multiple criteria
    By the northern monkey in forum Excel General
    Replies: 3
    Last Post: 02-02-2012, 07:45 AM
  7. Count Unique Values with Multiple Criteria
    By JohnV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2006, 01:10 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