Forum Discussion

Fabbe's avatar
Fabbe
Copper Contributor
Apr 18, 2024

Start Lists

Hi all,

 

I need to make start lists (per 8, by age and M/F) based on participants list with Age - M/F - Name.

 

How do I get the participants with 2 criteria  (f.e. M aged 😎 in 1 new list ?

 

Thanks,

F

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    Fabbe 

    To create a start list in Excel based on participants' age and gender criteria, you can use Excel functions like FILTER, SORT, and INDEX, or you can utilize PivotTables. Here's how you can do it using Excel functions:

    Assuming your participants' data is in columns A (Name), B (Age), and C (Gender), and your start list needs to be generated in columns E (Name), F (Age), and G (Gender):

    1. Filtering by Age and Gender:

      • Enter your criteria for age and gender in separate cells. For example, if you want participants who are male and aged 8, you might have "8" in cell H1 and "M" in cell H2.
      • In cell E2, enter the following formula:

    =FILTER(A:A, (B:B=H1)*(C:C=H2), "")

      • This formula will filter the names in column A based on the criteria specified in H1 and H2.

    2. Sorting the List (optional):

      • If you want the list sorted by age, you can use the SORT function. In cell E2, enter the following formula:

    =SORT(FILTER(A:A, (B:B=H1)*(C:C=H2), ""))

      • This formula filters and sorts the names based on the specified criteria.

    3. Fetching Age and Gender (optional):

      • If you also need to display the age and gender of the participants, you can use the INDEX function. In cell F2, enter the following formula to get the age:

    =INDEX(B:B, MATCH(E2, A:A, 0))

    And in cell G2, enter the following formula to get the gender:

    =INDEX(C:C, MATCH(E2, A:A, 0))

      • These formulas will fetch the age and gender corresponding to each participant's name.

    You can drag these formulas down to populate the list further if needed. This method allows you to dynamically filter participants based on different age and gender criteria. The text, steps and functions were created with the help of AI.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

    Was the answer useful? Mark as best response and Like it!

    This will help all forum participants.

Resources