+ Reply to Thread
Results 1 to 8 of 8

How to extract the students' names that passed the test only

  1. #1
    Registered User
    Join Date
    03-05-2019
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    How to extract the students' names that passed the test only

    How to extract the students' names that passed the test only

    rrrr.JPG

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,721

    Re: How to extract the students' names that passed the test only

    Put this formula in B1:

    =COUNTIF(A$1:A1,"Pass*")

    and copy down to the bottom of your list of results. Then you can use this formula in C1:

    =IFERROR(TRIM(SUBSTITUTE(INDEX(A:A,MATCH(ROWS($1:1),B:B,0)),"Pass:","")),"")

    Copy down to get your list of student names who have passed.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-05-2019
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How to extract the students' names that passed the test only

    Thanks Pete, it is great and it really worked
    Is there any chance that we merge the 2 formulas in one column
    But again thanks Pete for your help
    Josh

  4. #4
    Registered User
    Join Date
    11-22-2018
    Location
    Roma,Italia
    MS-Off Ver
    2013
    Posts
    40

    Re: How to extract the students' names that passed the test only

    Good morning
    with this data source in C1 to drag down

    =IFERROR(TRIM(MID(INDEX($A$1:$A$6,AGGREGATE(15,6,ROW($A$1:$A$6)/(LEFT($A$1:$A$6,FIND(":",$A$1:$A$6)-1)="Pass"),ROW($A1))),FIND(":",INDEX($A$1:$A$6,AGGREGATE(15,6,ROW($A$1:$A$6)/(LEFT($A$1:$A$6,FIND(":",$A$1:$A$6)-1)="Pass"),ROW($A1))))+1,LEN(INDEX($A$1:$A$6,AGGREGATE(15,6,ROW($A$1:$A$6)/(LEFT($A$1:$A$6,FIND(":",$A$1:$A$6)-1)="Pass"),ROW($A1)))))),"")

    If instead you put the results in a column and in the other the names for example in column E the results and in column F the names in H1 to drag down

    =IFERROR(INDEX($F$1:$F$6,AGGREGATE(15,6,ROW($E$1:$E$6)/($E$1:$E$6="Pass"),ROW(A1))),"")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-05-2019
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How to extract the students' names that passed the test only

    Mr. Fiore
    Wow Wow, Thank you so much for your help. It is more than great. Solved my problem. You have a nice and great day.

    Josh

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,583

    Re: How to extract the students' names that passed the test only

    Try this single formula In C1 then copy down.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to extract the students' names that passed the test only

    Try this...
    No helper columns needed; regular formula
    Enter formula in C1 and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 Fail: Len Josh
    2 Pass: Josh Tom
    3 Pass: Tom John
    4 Fail: Marry
    5 Fail: Scott
    6 Pass: John
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  8. #8
    Registered User
    Join Date
    03-05-2019
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: How to extract the students' names that passed the test only

    Thanks a lot to Mr kvsrinivasamurthy and Mr AlKey for your perfect solutions and added Reputation for all of you. Thanks again
    h

+ 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. Finding RANK for passed students only in Exam Mark sheet
    By abcg1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2018, 05:21 AM
  2. [SOLVED] Sorting Students Names and Attributes
    By jverne in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-21-2015, 10:42 PM
  3. Count number of students passed minimum level
    By timpie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-23-2015, 09:59 AM
  4. Counting students who passed before next curriculm-
    By thursday140 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2014, 03:41 PM
  5. Replies: 3
    Last Post: 05-04-2011, 07:12 AM
  6. Replies: 1
    Last Post: 05-05-2010, 11:11 AM
  7. Replies: 1
    Last Post: 09-03-2008, 01:11 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