+ Reply to Thread
Results 1 to 6 of 6

Help me to automatically list the students with credit passes (A&B).

  1. #1
    Registered User
    Join Date
    03-21-2022
    Location
    Botswana
    MS-Off Ver
    2010
    Posts
    11

    Help me to automatically list the students with credit passes (A&B).

    Help me to automatically list the students with credit passes (A&B).

    I tried a lookup formula but it doesn't work when there's multiple variables
    Attached Files Attached Files
    Last edited by Khali; 04-04-2022 at 01:51 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,648

    Re: Help

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

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

    Re: Help

    This is what I posted earlier, but you have now changed your title:

    Your title does not comply with the rules that govern thread titles (see menu above), so a moderator will probably come along soon to tell you to change it.

    One way of solving your problem would be too use this formula in cell E2:

    =IF(OR(D2="A",D2="B"),MAX(E$1:E1)+1,"-")

    Copy this down to the bottom of your first table - it identifies those students who match the criteria, giving each one a unique sequential number. Then you can use this formula in cell A20:

    =IFERROR(INDEX($A$2:$A$11,MATCH(ROWS($1:1),$E$2:$E$11,0)),"")

    Copy this down until you start to get blanks.

    Hope this helps.

    Pete
    Last edited by Pete_UK; 04-04-2022 at 01:57 PM.

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

    Re: Help

    I have re-instated my earlier post.

    Pete

  5. #5
    Registered User
    Join Date
    03-21-2022
    Location
    Botswana
    MS-Off Ver
    2010
    Posts
    11

    Re: Help me to automatically list the students with credit passes (A&B).

    Thank you PETE 🇬🇧

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

    Re: Help me to automatically list the students with credit passes (A&B).

    You're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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